☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Sema
/
PR2727.c
☽
☼
clang/test/Sema/PR2727.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -verify -fsyntax-only -std=c90 %s
2
// RUN: %clang_cc1 -verify -fsyntax-only -std=c99 %s
3
// expected-no-diagnostics
4
5
int f (int x)
6
{
7
// sizeof applied to a type should not delete the type.
8
return sizeof (int[x]);
9
}