[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaCXX / suppress-availability-error-cf-options.cpp
blobc28018464513f90da4c3a63cb04d9ff74f7c14e0
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 #define CF_OPTIONS(_type, _name) __attribute__((availability(swift, unavailable))) _type _name; enum : _name
6 __attribute__((availability(macOS, unavailable)))
7 typedef CF_OPTIONS(unsigned, TestOptions) {
9 };