// RUN: %clang_cc1 -triple arm-unknown-linux-gnueabi -emit-llvm %s -o - | FileCheck -check-prefix=LIBCALL %s
// RUN: %clang_cc1 -triple armv8-eabi -emit-llvm %s -o - | FileCheck -check-prefix=NATIVE %s
// PR45476
// This test used to get into an infinite loop,
// which, in turn, caused clang to never finish execution.
;
_Atomic struct s3 a;
extern "C" void