summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/method-no-context.m
blob: c0875493b44b9f2590756195ad1ceeb004ef905b (about) (plain)
1
2
3
4
// RUN: %clang_cc1 -fsyntax-only -verify %s

- im0 { // expected-error{{missing context for method declaration}}
  int a; return 0;