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
Remove an unneeded include that was added by mistake.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
dr2351-2.C
blob
deb1718072e63dcedfc8fb95e4bdd3ec4e26d3e6
1
// DR2351
2
// { dg-do compile { target c++11 } }
3
4
void bar (int);
5
6
template <typename T>
7
auto foo (T t) -> decltype (bar (t), void{})
8
{
9
return bar (t);
10
}
11
12
int
13
main ()
14
{
15
foo (0);
16
}