aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/address-constant.c
blob: e1704b8b0e66752897ecadd1f17a59edd69f5336 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: clang -fsyntax-only -verify %s

int i;
int a[] = {0};
struct { int i; } s;

int *array[] = {&i, a, &s.i};

extern void f(void);
void (*f_addr)(void) = &f;