Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
test
/
Parser
/
traditional_arg_scope.c
blob: 2a21ec3708d4937847965fca232e1b6322fca796 [
file
] [
log
] [
blame
]
// RUN: clang-cc -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
;}