2009-03-24 10:24:46 +08:00
|
|
|
// RUN: clang-cc -fsyntax-only -verify %s
|
2009-09-09 23:08:12 +08:00
|
|
|
int f() {
|
|
|
|
return 10;
|
2008-08-22 13:00:02 +08:00
|
|
|
}
|
|
|
|
|
2009-09-09 23:08:12 +08:00
|
|
|
void g() {
|
|
|
|
static int a = f();
|
2008-08-22 13:00:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
static int b = f();
|