1// RUN: %clang_cc1 -fsyntax-only -verify %s 2// expected-no-diagnostics 3 4#define FOR_EACH_KEYWORD(macro) \ 5macro(asm) \ 6macro(bool) \ 7macro(catch) \ 8macro(class) \ 9macro(const_cast) \ 10macro(delete) \ 11macro(dynamic_cast) \ 12macro(explicit) \ 13macro(export) \ 14macro(false) \ 15macro(friend) \ 16macro(mutable) \ 17macro(namespace) \ 18macro(new) \ 19macro(operator) \ 20macro(private) \ 21macro(protected) \ 22macro(public) \ 23macro(reinterpret_cast) \ 24macro(static_cast) \ 25macro(template) \ 26macro(this) \ 27macro(throw) \ 28macro(true) \ 29macro(try) \ 30macro(typename) \ 31macro(typeid) \ 32macro(using) \ 33macro(virtual) \ 34macro(wchar_t) 35 36 37#define DECLARE_METHOD(name) - (void)name; 38#define DECLARE_PROPERTY_WITH_GETTER(name) @property (getter=name) int prop_##name; 39@interface A 40//FOR_EACH_KEYWORD(DECLARE_METHOD) 41FOR_EACH_KEYWORD(DECLARE_PROPERTY_WITH_GETTER) 42@end 43 44