mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 18:31:54 +00:00
bfe6fa281e
llvm-svn: 116476
10 lines
291 B
C
10 lines
291 B
C
// Check that -emit-llvm [-S] works with -opt.
|
|
|
|
// RUN: llvmc -c -opt -emit-llvm -o - %s | llvm-dis | grep "@f0()" | count 1
|
|
// RUN: llvmc -c -opt -emit-llvm -S -o - %s | grep "@f0()" | count 1
|
|
// RUN: llvmc --dry-run -c -opt -emit-llvm %s |& grep "^opt"
|
|
// XFAIL: vg_leak
|
|
|
|
int f0(void) {
|
|
}
|