Mercurial > hg > CbC > CbC_llvm
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 |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -Wno-objc-root-class -o /dev/null -triple x86_64-- -emit-llvm %s |
2 // REQUIRES: asserts | |
3 // Verify there is no assertion. | |
4 | |
5 @interface A | |
6 @end | |
7 | |
8 extern A *a; | |
9 | |
10 @interface X | |
11 @end | |
12 | |
13 @implementation X | |
14 | |
15 -(void)test { | |
16 struct S { | |
17 A *a; | |
18 int b; | |
19 }; | |
20 struct S s[] = {{a, 0}, {(void *)0, 0}}; | |
21 } | |
22 @end |