comparison clang/test/PCH/objc_property.m @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
comparison
equal deleted inserted replaced
232:70dce7da266c 236:c4bab56944e8
5 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_property.h 5 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_property.h
6 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 6 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
7 7
8 // expected-no-diagnostics 8 // expected-no-diagnostics
9 9
10 void func() { 10 void func(void) {
11 TestProperties *xx = [TestProperties alloc]; 11 TestProperties *xx = [TestProperties alloc];
12 xx.value = 5; 12 xx.value = 5;
13 } 13 }