2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -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();
|