Mercurial > hg > CbC > CbC_llvm
comparison clang/test/SemaObjC/delay-parsing-cfunctions.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 |
---|---|
1 // RUN: %clang_cc1 -fsyntax-only -Werror -verify -Wno-objc-root-class %s | 1 // RUN: %clang_cc1 -fsyntax-only -Werror -verify -Wno-objc-root-class -Wno-strict-prototypes %s |
2 // expected-no-diagnostics | 2 // expected-no-diagnostics |
3 // rdar://10387088 | 3 // rdar://10387088 |
4 | 4 |
5 @interface MyClass | 5 @interface MyClass |
6 - (void)someMethod; | 6 - (void)someMethod; |
35 getMe = getMe+1; | 35 getMe = getMe+1; |
36 } | 36 } |
37 | 37 |
38 static int getMe; | 38 static int getMe; |
39 | 39 |
40 static int test() { | 40 static int test(void) { |
41 return 0; | 41 return 0; |
42 } | 42 } |
43 | 43 |
44 @end | 44 @end |