freebsd-skq/test/Parser/traditional_arg_scope.c
2010-01-01 10:34:51 +00:00

8 lines
194 B
C

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