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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
syntax-err1.C
blob
5f5a236a5cd4d965cde5ea34932df1dd1af65398
1
// PR c++/47198
2
// { dg-do compile { target c++11 } }
3
4
struct S
5
{
6
template < int > sometype foo (); // { dg-error "sometype. does not name a type" }
7
S () = default;
8
};