blob: 567629c10d56f896edd004693db0c627698272e3 [file] [log] [blame]
Tanya Lattner6ec96432011-10-17 21:00:38 +00001// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
Andy Gibbs8e8fb3b2012-10-19 12:44:48 +00002// expected-no-diagnostics
Tanya Lattner6ec96432011-10-17 21:00:38 +00003
4typedef __attribute__((ext_vector_type(2))) unsigned int uint2;
5typedef __attribute__((ext_vector_type(2))) int int2;
6
7void unsignedCompareOps()
8{
9 uint2 A, B;
10 int2 result = A != B;
11}
12