[flang][cuda] Adapt ExternalNameConversion to work in gpu module (#117039)
[llvm-project.git] / clang / test / AST / ast-dump-default-arg-dep.cpp
blob1cfd20b233fbf8b4e183116f012cfc10a99f6d63
1 // RUN: not %clang_cc1 -triple x86_64-unknown-unknown -ast-dump -frecovery-ast %s | FileCheck %s
3 // CXXDefaultArgExpr should inherit dependence from the inner Expr, in this case
4 // RecoveryExpr.
5 void fun(int arg = foo());
7 void test() {
8 fun();
10 // CHECK: -CXXDefaultArgExpr 0x{{[^ ]*}} <<invalid sloc>> '<dependent type>' contains-errors lvalue