]> git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/SemaCXX/static-initializers.cpp
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / SemaCXX / static-initializers.cpp
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();