Rename a test in preparation for fixing PR8169.

llvm-svn: 115410
This commit is contained in:
Anders Carlsson 2010-10-02 17:08:38 +00:00
parent 4088ceaf28
commit 0e523cba82
2 changed files with 41 additions and 35 deletions

View File

@ -0,0 +1,41 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
#define FOR_EACH_KEYWORD(macro) \
macro(asm) \
macro(bool) \
macro(catch) \
macro(class) \
macro(const_cast) \
macro(delete) \
macro(dynamic_cast) \
macro(explicit) \
macro(export) \
macro(false) \
macro(friend) \
macro(mutable) \
macro(namespace) \
macro(new) \
macro(operator) \
macro(private) \
macro(protected) \
macro(public) \
macro(reinterpret_cast) \
macro(static_cast) \
macro(template) \
macro(this) \
macro(throw) \
macro(true) \
macro(try) \
macro(typename) \
macro(typeid) \
macro(using) \
macro(virtual) \
macro(wchar_t)
#define DECLARE_METHOD(name) - (void)name;
@interface A
FOR_EACH_KEYWORD(DECLARE_METHOD)
@end

View File

@ -1,35 +0,0 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
@interface A
- (void)asm;
- (void)bool;
- (void)catch;
- (void)class;
- (void)const_cast;
- (void)delete;
- (void)dynamic_cast;
- (void)explicit;
- (void)export;
- (void)false;
- (void)friend;
- (void)mutable;
- (void)namespace;
- (void)new;
- (void)operator;
- (void)private;
- (void)protected;
- (void)public;
- (void)reinterpret_cast;
- (void)static_cast;
- (void)template;
- (void)this;
- (void)throw;
- (void)true;
- (void)try;
- (void)typename;
- (void)typeid;
- (void)using;
- (void)virtual;
- (void)wchar_t;
@end