// RUN: %clang_cc1 -fsyntax-only -verify %s
typedef int Bad1 ;
// expected-warning@-1 {{'swift_newtype' attribute argument not supported: 'invalid'}}
typedef int Bad2 ;
// expected-error@-1 {{argument required after attribute}}
typedef int Bad3 ;
// expected-error@-1 {{expected ')'}}
// expected-note@-2 {{to match this '('}}
// expected-warning@-3 {{'swift_newtype' attribute argument not supported: 'invalid'}}
;
// expected-error@-1 {{'__swift_newtype__' attribute only applies to typedefs}}