annotate clang/test/CodeGenCXX/global-init-darwin.cpp @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 struct A {
anatofuz
parents:
diff changeset
4 A();
anatofuz
parents:
diff changeset
5 ~A();
anatofuz
parents:
diff changeset
6 };
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 A a;
anatofuz
parents:
diff changeset
9 A as[2];
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 struct B {
anatofuz
parents:
diff changeset
12 B();
anatofuz
parents:
diff changeset
13 ~B();
anatofuz
parents:
diff changeset
14 int f();
anatofuz
parents:
diff changeset
15 };
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 int i = B().f();
anatofuz
parents:
diff changeset
18
anatofuz
parents:
diff changeset
19 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
anatofuz
parents:
diff changeset
20 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
anatofuz
parents:
diff changeset
21 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
anatofuz
parents:
diff changeset
22 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
anatofuz
parents:
diff changeset
23 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {