[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / address-constant.c
blobc13485b37ba5c109e8f35d852c697772f4e32152
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 int i;
5 int a[] = {0};
6 struct { int i; } s;
8 int *array[] = {&i, a, &s.i};
10 extern void f(void);
11 void (*f_addr)(void) = &f;