OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/29363
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
cond7.C
1
// PR c++/34270
2
// { dg-do compile }
3
// { dg-options "" }
4
5
void foo ()
6
{
7
__typeof__ (0 ?: 0) x;
8
__decltype (0 ?: 0) y;
9
}
10
11
template<int> void bar ()
12
{
13
__typeof__ (0 ?: 0) x;
14
__decltype (0 ?: 0) y;
15
}