Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
7e1dff7a68a4d00e71debafa7f5c259473091746
/
.
/
test
/
CodeGenCXX
/
reference-bind-default-argument.cpp
blob: acce962b1953f665a78ae0dcccd848e6be29d81e [
file
] [
log
] [
blame
]
Eli Friedman
27a9b72
2009-12-19 00:20:10 +0000
[
diff
] [
blame
]
1
// RUN: %clang_cc1 %s -emit-llvm-only -verify
2
3
struct
A
{};
4
struct
B
:
A
{};
5
void
a
(
const
A
&
x
=
B
());
6
void
b
()
{
a
();
}