| Tanya Lattner | 49b3841 | 2011-10-17 21:00:38 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only |
| Andy Gibbs | c6e68da | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
| Tanya Lattner | 49b3841 | 2011-10-17 21:00:38 +0000 | [diff] [blame] | 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 | |||||