Home | History | Annotate | Download | only in CodeGenCXX
      1 // 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")
     11 struct A {
     12   A();
     13   ~A();
     14   int a;
     15 };
     16 A a;
     17