1 // RUN: %clang_cc1 -ast-dump %s 2>&1 | FileCheck %s
3 // This is a wacky test to ensure that we're actually instantiating
4 // the default arguments of the constructor when the function type is
5 // otherwise non-dependent.
9 public: enum { kSomeConst
= 128 };
10 bar(int x
= kSomeConst
) {}
13 // CHECK: FunctionDecl{{.*}}f 'void ()'
15 // CHECK: VarDecl{{.*}}tmp 'bar<int>'
16 // CHECK: CXXDefaultArgExpr{{.*}}'int'