Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o %t |
Argyrios Kyrtzidis | 7267f78 | 2008-08-23 19:35:47 +0000 | [diff] [blame] | 2 | |
Argyrios Kyrtzidis | 02e7e74 | 2008-09-05 08:53:53 +0000 | [diff] [blame] | 3 | enum E {}; |
| 4 | int v1 = E(); |
| 5 | float v2 = float(); |
| 6 | |
| 7 | void f() { |
| 8 | int v3 = int(); |
Argyrios Kyrtzidis | 7267f78 | 2008-08-23 19:35:47 +0000 | [diff] [blame] | 9 | _Complex int v4 = typeof(_Complex int)(); |
| 10 | _Complex float v5 = typeof(_Complex float)(); |
Argyrios Kyrtzidis | 02e7e74 | 2008-09-05 08:53:53 +0000 | [diff] [blame] | 11 | } |