1 // RUN: %clang_cc1 -triple arm-unknown-linux-gnueabi -emit-llvm %s -o - | FileCheck -check-prefix=LIBCALL %s
2 // RUN: %clang_cc1 -triple armv8-eabi -emit-llvm %s -o - | FileCheck -check-prefix=NATIVE %s
5 // This test used to get into an infinite loop,
6 // which, in turn, caused clang to never finish execution.
14 extern "C" void foo() {
15 // LIBCALL-LABEL: @foo
16 // LIBCALL: call void @__atomic_store
18 // NATIVE: store atomic i32 {{.*}} seq_cst, align 4