Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash8.C
blob: 14f11f6cd74e09a99cc5ec732125a7a7abf125fb [
file
] [
log
] [
blame
]
// { dg-do compile }
// GROUPS passed old-abort
template
<
int
a
,
int
b
>
class
Elvis
// { dg-message "class Elvis" }
{
}
;
template
<
int
a
>
class
Elvis
<
0
>
// { dg-error "wrong number of template arguments" }
{
int
geta
()
{
return
a
;
}
}
;