1// RUN: %clang_cc1 -verify -fsyntax-only %s
2
3// expected-error@+1 {{'swift_attr' attribute takes one argument}}
4__attribute__((swift_attr))
5@interface I
6@end
7
8// expected-error@+1 {{'swift_attr' attribute requires a string}}
9__attribute__((swift_attr(1)))
10@interface J
11@end
12