Implement x86-64 support in cgcc.
[smatch.git] / validation / struct-ns1.c
blob44048e3108c7a40e0a96d811805c14c507d580e7
1 // This actually isn't allowed in C99, but sparse and gcc will take it:
2 enum Foo;
4 static void
5 f (void)
7 enum Foo *pefoo; // Pointer to incomplete type
8 struct Foo; // Forward declaration
9 struct Foo *psfoo; // Pointer to incomplete type
11 struct Foo { int foo; }; // Local definition.
12 struct Foo foo; // variable declaration.
13 foo.foo = 1;
17 enum Foo { FOO };