]> granicus.if.org Git - clang/commitdiff
Add test case from PR5763
authorDouglas Gregor <dgregor@apple.com>
Mon, 11 Jan 2010 21:58:49 +0000 (21:58 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 11 Jan 2010 21:58:49 +0000 (21:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93190 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/composite-pointer-type.cpp

index 829e64f6c72edcf8a133f45b074af5cf9928ff06..fdf838ffa09a059ca678181d405381e41c6895ee 100644 (file)
@@ -43,3 +43,10 @@ int f2() {
   IntPtrPtr j = 0;
   return i != j;
 }
+
+// PR5763
+typedef double Matrix4[4][4];
+
+bool f(Matrix4 m1, const Matrix4 m2) {
+  return m1 != m2;
+}