blob: f0b419d494eca8c0cf88d1b71b804d9abe9d9a64 [file] [log] [blame]
Argiris Kirtzidis9d784332008-06-24 22:12:16 +00001// RUN: clang -parse-noop -verify %s
2class C {
3public:
4protected:
5 typedef int A,B;
6 static int sf(), u;
7
8 struct S {};
9 enum {};
10 int; // expected-error {{error: declaration does not declare anything}}
11
12public:
13 void m() {
14 int l = 2;
15 }
16
17private:
18 int x,f(),y,g();
19};