OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.old-deja/g++.brendan/scope5.C: Changed "Class" to "Klasse".
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
invalid-op1.C
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" }