Debian Codegraph @

clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p11.cpp

raw
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 };