[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Parser / traditional_arg_scope.c
blobee2a01114247739e2425214797ef363db8e19b19
1 // RUN: %clang_cc1 -fsyntax-only %s -verify -Wno-deprecated-non-prototype -std=c99
3 int x(a) int a; {return a;}
4 int y(b) int b; {return a;} // expected-error {{use of undeclared identifier}}
6 // PR2332
7 int a(a)int a;{a=10;return a;}