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