2010-01-01 10:34:51 +00:00
|
|
|
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
|
2009-12-01 11:08:04 +00:00
|
|
|
// CHECK: ModuleID
|
|
|
|
// CHECK-NOT: opaque
|
|
|
|
// CHECK: define void @f0
|
2009-06-02 17:58:47 +00:00
|
|
|
|
|
|
|
enum teste1 test1f(void), (*test1)(void) = test1f;
|
|
|
|
struct tests2 test2f(), (*test2)() = test2f;
|
|
|
|
struct tests3;
|
|
|
|
void test3f(struct tests3), (*test3)(struct tests3) = test3f;
|
|
|
|
enum teste1 { TEST1 };
|
|
|
|
struct tests2 { int x,y,z,a,b,c,d,e,f,g; };
|
|
|
|
struct tests3 { float x; };
|
|
|
|
|
2009-12-01 11:08:04 +00:00
|
|
|
void f0() {}
|