annotate clang/test/CodeGenObjC/nullptr-assert.m @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -Wno-objc-root-class -o /dev/null -triple x86_64-- -emit-llvm %s
anatofuz
parents:
diff changeset
2 // REQUIRES: asserts
anatofuz
parents:
diff changeset
3 // Verify there is no assertion.
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 @interface A
anatofuz
parents:
diff changeset
6 @end
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 extern A *a;
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 @interface X
anatofuz
parents:
diff changeset
11 @end
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 @implementation X
anatofuz
parents:
diff changeset
14
anatofuz
parents:
diff changeset
15 -(void)test {
anatofuz
parents:
diff changeset
16 struct S {
anatofuz
parents:
diff changeset
17 A *a;
anatofuz
parents:
diff changeset
18 int b;
anatofuz
parents:
diff changeset
19 };
anatofuz
parents:
diff changeset
20 struct S s[] = {{a, 0}, {(void *)0, 0}};
anatofuz
parents:
diff changeset
21 }
anatofuz
parents:
diff changeset
22 @end