• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 
3 class X {
4 public:
5   typedef int I;
6   class Y { };
7   I a;
8 };
9 
10 I b; // expected-error{{unknown type name 'I'}}
11 Y c; // expected-error{{unknown type name 'Y'}}
12 X::Y d;
13 X::I e;
14