Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
error16.C
blob: 0da024bc665228cdb7dd46c5d1f8c1689158b334 [
file
] [
log
] [
blame
]
// PR c++/18674
template
<
typename
I
>
static
void
g
()
{
enum
I
::
t a
;
// { dg-error "" }
(
void
)
a
;
}
struct
B
{
typedef
int
t
;
};
void
h
()
{
g
<
B
>();
}