| 1 | // RUN: %clang_cc1 -fsyntax-only %s -verify |
|---|---|
| 2 | |
| 3 | int x(a) int a; {return a;} |
| 4 | int y(b) int b; {return a;} // expected-error {{use of undeclared identifier}} |
| 5 | |
| 6 | // PR2332 |
| 7 | int a(a)int a;{a=10;return a;} |
| 8 |
| 1 | // RUN: %clang_cc1 -fsyntax-only %s -verify |
|---|---|
| 2 | |
| 3 | int x(a) int a; {return a;} |
| 4 | int y(b) int b; {return a;} // expected-error {{use of undeclared identifier}} |
| 5 | |
| 6 | // PR2332 |
| 7 | int a(a)int a;{a=10;return a;} |
| 8 |