1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3int f() {
4  return 10;
5}
6
7void g() {
8  static int a = f();
9}
10
11static int b = f();
12