clang/test/CodeGenObjC/objc-arc-ubsan-debugging.m
raw| 1 | // RUN: %clang -x objective-c -target arm64-apple-macos12.0 -fobjc-arc -std=gnu99 -O0 -fsanitize=undefined -fsanitize=nullability -c %s -v -g |
| 2 | // REQUIRES: aarch64-registered-target |
| 3 | |
| 4 | @interface NSString |
| 5 | @end |
| 6 | |
| 7 | struct A { |
| 8 | NSString *a; |
| 9 | }; |
| 10 | |
| 11 | NSString* _Nonnull foo() |
| 12 | { |
| 13 | struct A a; |
| 14 | return 0; |
| 15 | } |