1 // RUN: %clang_cc1 -triple thumbv7--windows-msvc -S -emit-llvm -o - -x c++ %s | FileCheck %s
2 // RUN: %clang_cc1 -triple thumbv7--windows-itanium -fno-use-cxa-atexit -S -emit-llvm -o - -x c++ %s | FileCheck %s
3 
4 class C {
5 public:
6   ~C();
7 };
8 
9 static C sc;
f(const C & ci)10 void f(const C &ci) { sc = ci; }
11 
12 // CHECK: atexit
13 
14