[cfe-commits] r93190 - /cfe/trunk/test/SemaCXX/composite-pointer-type.cpp
Douglas Gregor
dgregor at apple.com
Mon Jan 11 13:58:50 PST 2010
Author: dgregor
Date: Mon Jan 11 15:58:49 2010
New Revision: 93190
URL: http://llvm.org/viewvc/llvm-project?rev=93190&view=rev
Log:
Add test case from PR5763
Modified:
cfe/trunk/test/SemaCXX/composite-pointer-type.cpp
Modified: cfe/trunk/test/SemaCXX/composite-pointer-type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/composite-pointer-type.cpp?rev=93190&r1=93189&r2=93190&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/composite-pointer-type.cpp (original)
+++ cfe/trunk/test/SemaCXX/composite-pointer-type.cpp Mon Jan 11 15:58:49 2010
@@ -43,3 +43,10 @@
IntPtrPtr j = 0;
return i != j;
}
+
+// PR5763
+typedef double Matrix4[4][4];
+
+bool f(Matrix4 m1, const Matrix4 m2) {
+ return m1 != m2;
+}
More information about the cfe-commits
mailing list