Mercurial > hg > CbC > CbC_llvm
view 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 |
line wrap: on
line source
// Test this without pch. // RUN: %clang_cc1 -include %S/objc_property.h -fsyntax-only -verify %s // Test with pch. // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_property.h // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s // expected-no-diagnostics void func(void) { TestProperties *xx = [TestProperties alloc]; xx.value = 5; }