Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
8e8fb3be5bd78f0564444eca02b404566a5f3b5d
/
.
/
test
/
CodeGenCXX
/
reference-bind-default-argument.cpp
blob: 5cf279f62a185a4e422be88c27a1c0b8122a90a0 [
file
] [
log
] [
blame
]
// 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
();
}