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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash8.C
blob
14f11f6cd74e09a99cc5ec732125a7a7abf125fb
1
// { dg-do compile }
2
// GROUPS passed old-abort
3
template<int a, int b>
4
class Elvis // { dg-message "class Elvis" }
5
{
6
} ;
7
8
template<int a>
9
class Elvis<0> // { dg-error "wrong number of template arguments" }
10
{
11
int geta() { return a ; }
12
} ;