summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/crash-label.m
blob: b0ca5b508ca468d5d88546a00c288f2ec0a13856 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1  -fsyntax-only -verify %s

  - (NSDictionary*) _executeScript:(NSString *)source {  // expected-error 2 {{expected a type}} \
                                                         // expected-error {{missing context for method declaration}}
Exit:  [nilArgs release];
}
- (NSDictionary *) _setupKernelStandardMode:(NSString *)source { // expected-error 2 {{expected a type}} \
                                                                 // expected-error {{missing context for method declaration}}
  Exit:   if(_ciKernel && !success ) {
OpenPOWER on IntegriCloud