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
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2008-07-17-no-emit-on-error.c
blob
8217cbec1bceb0b911a7b27a204aeb7abe9ddc0f
1
// RUN: rm -f %t1.bc
2
// RUN: %clang_cc1 -DPASS %s -emit-llvm-bc -o %t1.bc
3
// RUN: opt %t1.bc -disable-output
4
// RUN: rm -f %t1.bc
5
// RUN: not %clang_cc1 %s -emit-llvm-bc -o %t1.bc
6
// RUN: not opt %t1.bc -disable-output
7
8
void
f
(
void
) {
9
}
10
11
#ifndef PASS
12
void
g
(
void
) {
13
*
10
;
14
}
15
#endif