Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
90f93d4c6e257903c951c5ff22cf3cf3806fca63
/
.
/
test
/
Parser
/
traditional_arg_scope.c
blob: 3811d0d88cdeae30d8ce1e48126834e1d7e61d54 [
file
] [
log
] [
blame
]
// 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
;}