diff options
Diffstat (limited to 'test/Parser/altivec.c')
-rw-r--r-- | test/Parser/altivec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Parser/altivec.c b/test/Parser/altivec.c index a3e8183f35..ed144573fc 100644 --- a/test/Parser/altivec.c +++ b/test/Parser/altivec.c @@ -40,6 +40,8 @@ vector int f__r(); void f_a(vector int a); void f_a2(int b, vector int a); +vector int v = (vector int)(-1); + // 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}} |