reference-bind-default-argument.cpp 148 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 // 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(); }