netbsd/external/bsd/llvm/dist/clang/test/CodeGenCXX/reference-bind-default-argument.cpp
2014-01-15 10:53:42 +01:00

8 lines
148 B
C++

// RUN: %clang_cc1 %s -emit-llvm-only -verify
// expected-no-diagnostics
struct A {};
struct B : A {};
void a(const A& x = B());
void b() { a(); }