// RUN: %clang_cc1 %s -verify -fsyntax-only
// RUN: %clang_cc1 %s -verify -fsyntax-only -x c
int a ; // expected-warning {{'standalone_debug' attribute only applies to classes}}
void ; // expected-warning {{'standalone_debug' attribute only applies to classes}}
; // expected-error {{'standalone_debug' attribute takes no arguments}}
// Check that attribute only works in C++.
; // expected-warning {{'standalone_debug' attribute ignored}}