☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Sema
/
cxx-as-c.c
☽
☼
clang/test/Sema/cxx-as-c.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 %s -verify
2
3
// PR36157
4
struct Foo {
5
Foo(int n) : n_(n) {} // expected-error 1+{{}}
6
private:
7
int n;
8
};
9
int main() { Foo f; } // expected-error 1+{{}}