clang/test/Modules/objc-method-redecl.m
raw| 1 | // RUN: rm -rf %t |
| 2 | // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -x objective-c-header -emit-pch %S/Inputs/objc-method-redecl.h -o %t.pch -Wno-objc-root-class |
| 3 | // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -x objective-c -include-pch %t.pch %s -verify -Wno-objc-root-class |
| 4 | // expected-no-diagnostics |
| 5 | |
| 6 | @implementation T |
| 7 | - (void)test { |
| 8 | } |
| 9 | @end |