1 // RUN: not %clang_cc1 -triple x86_64-unknown-unknown -ast-dump -frecovery-ast %s | FileCheck %s 2 3 // CXXDefaultArgExpr should inherit dependence from the inner Expr, in this case 4 // RecoveryExpr. 5 void fun(int arg = foo()); 6 test()7void test() { 8 fun(); 9 } 10 // CHECK: -CXXDefaultArgExpr 0x{{[^ ]*}} <<invalid sloc>> '<dependent type>' contains-errors lvalue 11