Thumb2 assembly parsing and encoding for UHSUB16/UHSUB8.
[oota-llvm.git] / test / LLVMC / C / emit-llvm-opt.c
1 // Check that -emit-llvm [-S] works with -opt.
2
3 // RUN: llvmc -c -opt -emit-llvm -o - %s | llvm-dis | grep "@f0()" | count 1
4 // RUN: llvmc -c -opt -emit-llvm -S -o - %s | grep "@f0()" | count 1
5 // RUN: llvmc --dry-run -c -opt -emit-llvm %s |& grep "^opt"
6 // XFAIL: vg_leak
7
8 int f0(void) {
9 }