repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
Sema
/
cxx-as-c.c
blob
a5d1a4944c95630727adc8e69d079e900e976200
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+{{}}