repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
parse
/
invalid-op1.C
blob
37e480983f82861e0fa324559dcc277b53925a08
1
// PR c++/10150
2
// Origin: Tom Evans <te200@eng.cam.ac.uk>
3
// { dg-do compile }
4
5
template <int I> struct A
6
{
7
template <int> struct B
8
{
9
enum { e = I * A<I-1>::B }; // { dg-error "" }
10
};
11
};
12
13
A<0>::B<0> a; // { dg-error "instantiated" }