static-init.c revision 1a86b33c1870fee08d281c9f07ac1280195a7fae
1// RUN: clang -fsyntax-only -verify %s
2static int f = 10;
3static int b = f; // expected-error {{initializer element is not constant}}
4