llvmc: Support '-emit-llvm -S' with -opt.
[oota-llvm.git] / test / LLVMC / C / emit-llvm.c
1 // RUN: llvmc -c -emit-llvm -o - %s | llvm-dis | grep "@f0()" | count 1
2 // RUN: llvmc -c -emit-llvm -S -o - %s | grep "@f0()" | count 1
3 // XFAIL: vg_leak
4
5 int f0(void) {
6 }