[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / clang / test / CodeGenCXX / apple-kext-no-staticinit-section.cpp
blob5ba1f6ced77b8096d50a074c3e4ceec345433f2a
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fapple-kext -fno-rtti -disable-O0-optnone -emit-llvm -o - %s | FileCheck %s
2 /**
3 1) Normally, global object construction code ends up in __StaticInit segment of text section
4 .section __TEXT,__StaticInit,regular,pure_instructions
5 In kext mode, they end up in the __text segment.
6 */
8 class foo {
9 public:
10 foo();
11 virtual ~foo();
14 foo a;
15 foo b;
16 foo c;
17 foo::~foo() {}
19 // CHECK-NOT: __TEXT,__StaticInit,regular,pure_instructions