Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
syntax-err1.C
blob: ce1c9eea5344b9b432dea795a56fdff52e7dd2fe [
file
] [
log
] [
blame
]
// PR c++/47198
// { dg-options -std=c++0x }
struct
S
{
template
<
int
>
sometype foo
();
// { dg-error "sometype. does not name a type" }
S
()
=
default
;
};