mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
263cfecd4f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116476 91177308-0d34-0410-b5e6-96231b3b80d8
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) {
|
|
}
|