llvm-project/clang/test/Parser/traditional_arg_scope.c

8 lines
177 B
C
Raw Normal View History

// RUN: clang -fsyntax-only %s -verify
x(a) int a; {return a;}
y(b) int b; {return a;} // expected-error {{use of undeclared identifier}}
// PR2332
a(a)int a;{a=10;return a;}