Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 int f() {
      3   return 10;
      4 }
      5 
      6 void g() {
      7   static int a = f();
      8 }
      9 
     10 static int b = f();
     11