const-init.c revision cca196b553bf3261d8db635a40ca4a78c32b2569
1// RUN: clang -emit-llvm %s 2 3#include <stdint.h> 4 5// Brace-enclosed string array initializers 6char a[] = { "asdf" }; 7 8// Double-implicit-conversions of array/functions (not legal C, but 9// clang accepts it for gcc compat). 10intptr_t b = a; 11int c(); 12void *d = c; 13intptr_t e = c; 14