Nuno Lopes | 060ddb0 | 2012-05-09 21:21:49 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s |
Daniel Dunbar | 600d47e | 2009-11-20 17:23:39 +0000 | [diff] [blame] | 2 | // CHECK: ModuleID |
| 3 | // CHECK-NOT: opaque |
| 4 | // CHECK: define void @f0 |
Eli Friedman | b3b6b9b | 2009-03-05 03:16:41 +0000 | [diff] [blame] | 5 | |
Eli Friedman | 2136b2e | 2009-03-05 04:18:07 +0000 | [diff] [blame] | 6 | enum teste1 test1f(void), (*test1)(void) = test1f; |
| 7 | struct tests2 test2f(), (*test2)() = test2f; |
Eli Friedman | b3b6b9b | 2009-03-05 03:16:41 +0000 | [diff] [blame] | 8 | struct tests3; |
Eli Friedman | 2136b2e | 2009-03-05 04:18:07 +0000 | [diff] [blame] | 9 | void test3f(struct tests3), (*test3)(struct tests3) = test3f; |
Eli Friedman | b3b6b9b | 2009-03-05 03:16:41 +0000 | [diff] [blame] | 10 | enum teste1 { TEST1 }; |
| 11 | struct tests2 { int x,y,z,a,b,c,d,e,f,g; }; |
| 12 | struct tests3 { float x; }; |
| 13 | |
Daniel Dunbar | 600d47e | 2009-11-20 17:23:39 +0000 | [diff] [blame] | 14 | void f0() {} |