// RUN: %clang_cc1 %s -verify -fsyntax-only -std=c++11 -x c++
void foo ;
; // expected-warning {{'xray_always_instrument' attribute only applies to functions and Objective-C methods}}
;
void baz ; // expected-error {{'xray_always_instrument' attribute takes no arguments}}