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++ / together.cpp
1 // Check that we can compile files of different types together.
2 // RUN: llvmc %s %p/../test_data/together.c -o %t
3 // RUN: %abs_tmp | grep hello
4
5 extern "C" void test();
6
7 int main() {
8   test();
9 }