repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
cond7.C
blob
ce1c77e593ba19a45bc3e3f494cfb7fedf3886f0
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
}