2009-11-08 09:45:36 +08:00
|
|
|
// RUN: rm -f %t1.bc
|
2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -DPASS %s -emit-llvm-bc -o %t1.bc
|
2011-03-05 19:15:55 +08:00
|
|
|
// RUN: opt %t1.bc -disable-output
|
2010-09-18 01:38:48 +08:00
|
|
|
// RUN: rm -f %t1.bc
|
2009-12-16 04:14:24 +08:00
|
|
|
// RUN: not %clang_cc1 %s -emit-llvm-bc -o %t1.bc
|
2011-03-05 19:15:55 +08:00
|
|
|
// RUN: not opt %t1.bc -disable-output
|
2008-07-19 00:38:05 +08:00
|
|
|
|
|
|
|
void f() {
|
|
|
|
}
|
|
|
|
|
2009-11-21 01:23:39 +08:00
|
|
|
#ifndef PASS
|
2008-07-19 00:38:05 +08:00
|
|
|
void g() {
|
|
|
|
*10;
|
|
|
|
}
|
2009-11-21 01:23:39 +08:00
|
|
|
#endif
|