☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Parser
/
if-scope-c99.c
☽
☼
clang/test/Parser/if-scope-c99.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -fsyntax-only -verify -std=c99 %s
2
3
int f (int z)
4
{
5
if (z > (int) sizeof (enum {a, b}))
6
return a;
7
return b; // expected-error{{use of undeclared identifier}}
8
}