Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.dg
/
parse
/
invalid-op1.C
blob: 37e480983f82861e0fa324559dcc277b53925a08 [
file
] [
log
] [
blame
]
// PR c++/10150
// Origin: Tom Evans <te200@eng.cam.ac.uk>
// { dg-do compile }
template
<
int
I
>
struct
A
{
template
<int>
struct
B
{
enum
{
e
=
I
*
A
<
I
-
1
>::
B
};
// { dg-error "" }
};
};
A
<
0
>::
B
<
0
>
a
;
// { dg-error "instantiated" }