Eli Friedman | cca196b | 2008-02-21 18:07:36 +0000 | [diff] [blame^] | 1 | // RUN: clang -emit-llvm %s |
2 | |||||
3 | #include <stdint.h> | ||||
4 | |||||
5 | // Brace-enclosed string array initializers | ||||
6 | char a[] = { "asdf" }; | ||||
7 | |||||
8 | // Double-implicit-conversions of array/functions (not legal C, but | ||||
9 | // clang accepts it for gcc compat). | ||||
10 | intptr_t b = a; | ||||
11 | int c(); | ||||
12 | void *d = c; | ||||
13 | intptr_t e = c; |