Home | History | Annotate | Download | only in SemaOpenCL
      1 // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
      2 // expected-no-diagnostics
      3 
      4 typedef __attribute__((ext_vector_type(2)))  unsigned int uint2;
      5 typedef __attribute__((ext_vector_type(2)))  int int2;
      6 
      7 void unsignedCompareOps()
      8 {
      9   uint2 A, B;
     10   int2 result = A != B;
     11 }
     12 
     13