Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
syntax-err1.C
blob: 5f5a236a5cd4d965cde5ea34932df1dd1af65398 [
file
] [
log
] [
blame
]
// PR c++/47198
// { dg-do compile { target c++11 } }
struct
S
{
template
<
int
>
sometype foo
();
// { dg-error "sometype. does not name a type" }
S
()
=
default
;
};