1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 // expected-no-diagnostics 3 4 #define CF_OPTIONS(_type, _name) __attribute__((availability(swift, unavailable))) _type _name; enum : _name 5 6 __attribute__((availability(macOS, unavailable))) 7 typedef CF_OPTIONS(unsigned, TestOptions) { 8 x 9 }; 10