// RUN: %clang_cc1 -triple spir-unknown-unknown -fsyntax-only -verify %s
void f1;
void f2 __attribute__; // expected-error {{'convergent' attribute takes no arguments}}
void f3; // expected-warning {{'convergent' attribute only applies to functions}}
void f4 {
int var1 __attribute__; // expected-warning {{'convergent' attribute only applies to functions}}
}
__attribute__