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
match: Fix comment for `X != 0 ? X + ~0 : 0` transformation
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
pr60384.C
blob
a6d7debfb9965427faa8cb39670211b3011cb92c
1
// PR c++/60384
2
// { dg-do compile { target c++14 } }
3
4
template<typename> int foo();
5
6
struct A
7
{
8
typedef auto foo<>(); // { dg-error "11:typedef declared 'auto'" }
9
};