mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 18:46:04 +00:00

Mingw MSYS does not have test.exe (only shell built-in test), and is not capable to invoke test(1) from utils/not. llvm-svn: 127078
16 lines
274 B
C
16 lines
274 B
C
// RUN: rm -f %t1.bc
|
|
// RUN: %clang_cc1 -DPASS %s -emit-llvm-bc -o %t1.bc
|
|
// RUN: opt %t1.bc -disable-output
|
|
// RUN: rm -f %t1.bc
|
|
// RUN: not %clang_cc1 %s -emit-llvm-bc -o %t1.bc
|
|
// RUN: not opt %t1.bc -disable-output
|
|
|
|
void f() {
|
|
}
|
|
|
|
#ifndef PASS
|
|
void g() {
|
|
*10;
|
|
}
|
|
#endif
|