Use sbb x, x to materialize carry bit in a GPR. The result is all one's or all zero's.
[oota-llvm.git] / test / LLVMC / C++ / dash-x.cpp
1 // Test that we can compile .c files as C++ and vice versa
2 // RUN: llvmc %s -x c++ %p/../test_data/false.c -x c %p/../test_data/false.cpp -x lisp -x whatnot -x none %p/../test_data/false2.cpp -o %t
3 // RUN: %abs_tmp | grep hello
4
5 extern int test_main();
6
7 int main() {
8   test_main();
9 }