Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / 2004-03-16-AsmRegisterCrash.c
blob8e6ec67c5c2ad6325bf18f2ec5b163a42ea623a2
1 // RUN: %clang_cc1 -triple armv7-unknown-unknown %s -o /dev/null
2 // RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -o /dev/null
4 int foo(void) {
5 #ifdef __arm__
6 register int X __asm__("r1");
7 #else
8 register int X __asm__("ebx");
9 #endif
10 return X;