1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
5 bool operator == (C c1, C c2);
7 bool operator == (C c1, int i);
8 bool operator == (int i, C c2);
10 C operator += (C c1, C c2);
12 enum TextureType { TextureType3D };
15 @property int textureType;
19 template <typename> class Framebuffer {
21 Texture **color_attachment;
25 template <typename T> Framebuffer<T>::Framebuffer() {
26 (void)(color_attachment[0].textureType == TextureType3D);
27 color_attachment[0].textureType += 1;
28 (void)(color_attachment[0].c == color_attachment[0].c);
29 (void)(color_attachment[0].c == 1);
30 (void)(1 == color_attachment[0].c);