1 //RUN: %clang_cc1 %s -triple spir-unknown-unknown -pedantic -verify
4 void m1() __local __local; //expected-warning{{multiple identical address spaces specified for type}}
5 //expected-note@-1{{candidate function}}
7 //expected-note@-1{{candidate function}}
8 void m2() __global __local; //expected-error{{multiple address spaces specified for type}}
19 c_priv.m1(); //expected-error{{no matching member function for call to 'm1'}}