diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2010-03-10 17:45:58 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2010-03-10 17:45:58 +0000 |
commit | 27c39af73c0d7d0b97e57b3a905040d4cefc9708 (patch) | |
tree | 56c1dd85a159948815817b5a90bedb39cf9ad105 /test/Parser/cxx-altivec.cpp | |
parent | d2e6cf1d1c6468396ec057119c32aa58b1ee5ac9 (diff) | |
download | FreeBSD-src-27c39af73c0d7d0b97e57b3a905040d4cefc9708.zip FreeBSD-src-27c39af73c0d7d0b97e57b3a905040d4cefc9708.tar.gz |
Update clang to r98164.
Diffstat (limited to 'test/Parser/cxx-altivec.cpp')
-rw-r--r-- | test/Parser/cxx-altivec.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/test/Parser/cxx-altivec.cpp b/test/Parser/cxx-altivec.cpp index a26eee4..3610c0e 100644 --- a/test/Parser/cxx-altivec.cpp +++ b/test/Parser/cxx-altivec.cpp @@ -43,26 +43,26 @@ void f_a(vector int a); void f_a2(int b, vector int a); // These should have warnings. -__vector long vv_l; // expected-warning {{Use of "long" with "__vector" is deprecated}} -__vector signed long vv_sl; // expected-warning {{Use of "long" with "__vector" is deprecated}} -__vector unsigned long vv_ul; // expected-warning {{Use of "long" with "__vector" is deprecated}} -__vector long int vv_li; // expected-warning {{Use of "long" with "__vector" is deprecated}} -__vector signed long int vv_sli; // expected-warning {{Use of "long" with "__vector" is deprecated}} -__vector unsigned long int vv_uli; // expected-warning {{Use of "long" with "__vector" is deprecated}} -vector long v_l; // expected-warning {{Use of "long" with "__vector" is deprecated}} -vector signed long v_sl; // expected-warning {{Use of "long" with "__vector" is deprecated}} -vector unsigned long v_ul; // expected-warning {{Use of "long" with "__vector" is deprecated}} -vector long int v_li; // expected-warning {{Use of "long" with "__vector" is deprecated}} -vector signed long int v_sli; // expected-warning {{Use of "long" with "__vector" is deprecated}} -vector unsigned long int v_uli; // expected-warning {{Use of "long" with "__vector" is deprecated}} -__vector long double vv_ld; // expected-warning {{Use of "long" with "__vector" is deprecated}} expected-error {{cannot use "double" with "__vector"}} -vector long double v_ld; // expected-warning {{Use of "long" with "__vector" is deprecated}} expected-error {{cannot use "double" with "__vector"}} +__vector long vv_l; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +__vector signed long vv_sl; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +__vector unsigned long vv_ul; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +__vector long int vv_li; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +__vector signed long int vv_sli; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +__vector unsigned long int vv_uli; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +vector long v_l; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +vector signed long v_sl; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +vector unsigned long v_ul; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +vector long int v_li; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +vector signed long int v_sli; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +vector unsigned long int v_uli; // expected-warning {{Use of 'long' with '__vector' is deprecated}} +__vector long double vv_ld; // expected-warning {{Use of 'long' with '__vector' is deprecated}} expected-error {{cannot use 'double' with '__vector'}} +vector long double v_ld; // expected-warning {{Use of 'long' with '__vector' is deprecated}} expected-error {{cannot use 'double' with '__vector'}} // These should have errors. -__vector double vv_d1; // expected-error {{cannot use "double" with "__vector"}} -vector double v_d2; // expected-error {{cannot use "double" with "__vector"}} -__vector long double vv_ld3; // expected-warning {{Use of "long" with "__vector" is deprecated}} expected-error {{cannot use "double" with "__vector"}} -vector long double v_ld4; // expected-warning {{Use of "long" with "__vector" is deprecated}} expected-error {{cannot use "double" with "__vector"}} +__vector double vv_d1; // expected-error {{cannot use 'double' with '__vector'}} +vector double v_d2; // expected-error {{cannot use 'double' with '__vector'}} +__vector long double vv_ld3; // expected-warning {{Use of 'long' with '__vector' is deprecated}} expected-error {{cannot use 'double' with '__vector'}} +vector long double v_ld4; // expected-warning {{Use of 'long' with '__vector' is deprecated}} expected-error {{cannot use 'double' with '__vector'}} void f() { __vector unsigned int v = {0,0,0,0}; |