mirror of
https://github.com/opnsense/src.git
synced 2026-02-21 08:50:22 -05:00
12 lines
225 B
C++
12 lines
225 B
C++
// 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 {
|
|
};
|