Sign in
llvm
/
llvm-project
/
74cbd71072de4f20c5cb9852dc4cf96ac7a4b5a4
/
.
/
clang
/
test
/
Sema
/
2009-04-22-UnknownSize.c
blob: 60bd8d2d777120873faedcd705e747f599e905e5 [
file
] [
log
] [
blame
]
// RUN: not %clang_cc1 -fsyntax-only -verify %s
// PR2958
static
struct
foo s
;
// expected-error { tentative definition has type 'struct foo' that is never completed }
struct
foo
*
p
=
&
s
;