Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
5ccfdd8d215c7bf324a14523c71ed328325c2bc8
/
.
/
test
/
CodeGen
/
2008-07-17-no-emit-on-error.c
blob: 0452325a790d01263ce97a7f70ade5c9fe7f7374 [
file
] [
log
] [
blame
]
// RUN: rm -f %t1.bc
// RUN: %clang_cc1 -DPASS %s -emit-llvm-bc -o %t1.bc
// RUN: test -f %t1.bc
// RUN: not %clang_cc1 %s -emit-llvm-bc -o %t1.bc
// RUN: not test -f %t1.bc
void
f
()
{
}
#ifndef
PASS
void
g
()
{
*
10
;
}
#endif