Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 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;} |