Douglas Gregor | fdd0172 | 2009-04-14 00:24:19 +0000 | [diff] [blame] | 1 | // Helper for external-defs.c test |
| 2 | |
Douglas Gregor | f807fe0 | 2009-04-14 16:27:31 +0000 | [diff] [blame^] | 3 | // Tentative definitions |
Douglas Gregor | fdd0172 | 2009-04-14 00:24:19 +0000 | [diff] [blame] | 4 | int x; |
Douglas Gregor | f807fe0 | 2009-04-14 16:27:31 +0000 | [diff] [blame^] | 5 | int x2; |
Douglas Gregor | fdd0172 | 2009-04-14 00:24:19 +0000 | [diff] [blame] | 6 | |
| 7 | // FIXME: check this, once we actually serialize it |
| 8 | int y = 17; |
| 9 | |
| 10 | // Should not show up |
| 11 | static int z; |
Douglas Gregor | f807fe0 | 2009-04-14 16:27:31 +0000 | [diff] [blame^] | 12 | |
| 13 | int incomplete_array[]; |
| 14 | int incomplete_array2[]; |
| 15 | |
| 16 | // FIXME: CodeGen problems prevents this from working (<rdar://problem/6762287>) |
| 17 | // struct S s; |