summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/reference-bind-default-argument.cpp
blob: acce962b1953f665a78ae0dcccd848e6be29d81e (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 %s -emit-llvm-only -verify

struct A {};
struct B : A {};
void a(const A& x = B());
void b() { a(); }