Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Chris Lattner | 1d09ecc | 2007-11-13 18:05:45 +0000 | [diff] [blame] | 2 | |
3 | int i; | ||||
4 | int a[] = {0}; | ||||
5 | struct { int i; } s; | ||||
6 | |||||
7 | int *array[] = {&i, a, &s.i}; | ||||
Seo Sanghyeon | 63f067f | 2008-04-04 09:45:30 +0000 | [diff] [blame] | 8 | |
9 | extern void f(void); | ||||
10 | void (*f_addr)(void) = &f; |