blob: 7356c52aa395f6cde12fc8616de7a6cb7adf0ec9 [file] [log] [blame]
Reid Klecknerd3923aa2014-04-03 19:04:24 +00001// RUN: not %clang_cc1 %s -triple=i686-pc-win32 -fms-extensions -emit-llvm-only 2>&1 | FileCheck %s
2
3// Reduced from WebKit.
4
5// FIXME: Implement this pragma and test the codegen. We probably want to
6// completely skip @llvm.global_ctors and just create global function pointers
7// to the initializer with the right section.
8
9// CHECK: '#pragma init_seg' not implemented
10#pragma init_seg(".unwantedstaticinits")
11struct A {
12 A();
13 ~A();
14 int a;
15};
16A a;