☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CXX
/
basic
/
basic.lookup
/
basic.lookup.unqual
/
p11.cpp
☽
☼
clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p11.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
static const int a = 10;
4
5
void f0(int a,
6
int b = a) { // expected-error {{default argument references parameter 'a'}}
7
}
8
9
template<int a,
10
int b = a>
11
class A {
12
};