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>();
}