Sign in
fuchsia
/
third_party
/
swift-clang
/
a40ea3abe6e2f0b338d00c38fe7d724241c5af97
/
.
/
test
/
CXX
/
basic
/
basic.lookup
/
basic.lookup.unqual
/
p11.cpp
blob: a1cf529741b9da807d7fb63ad427f1ffdebecf15 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
static
const
int
a
=
10
;
void
f0
(
int
a
,
int
b
=
a
)
{
// expected-error {{default argument references parameter 'a'}}
}
template
<
int
a
,
int
b
=
a
>
class
A
{
};