1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3float global_f;
4
5void f0(int *ip = &global_f); // expected-error{{cannot initialize}} \
6// expected-note{{passing argument to parameter 'ip' here}}
7
8// Example from C++03 standard
9int a = 1;
10int f(int);
11int g(int x = f(a));
12
13void h() {
14  a = 2;
15  {
16    int *a = 0;
17    g(); // FIXME: check that a is called with a value of 2
18  }
19}
20