1 // RUN: %clang_cc1 -verify -fsyntax-only %s
3 // expected-error@+1 {{'swift_attr' attribute takes one argument}}
4 __attribute__((swift_attr))
8 // expected-error@+1 {{expected string literal as argument of 'swift_attr' attribute}}
9 __attribute__((swift_attr(1)))
13 @interface Error<T: __attribute__((swift_attr(1))) id>
14 // expected-error@-1 {{expected string literal as argument of 'swift_attr' attribute}}