]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/gdc.test/compilable/testexpression.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / testexpression.d
index b581df7bdca79209aaec5d28f8735a350bd3a146..df491321d4821bc8824aab0a0b6e5d64d6529389 100644 (file)
@@ -54,8 +54,6 @@ void TestOpAndAssign(Tx, Ux, ops)()
 struct boolean   { alias TT!(bool) x; }
 struct integral  { alias TT!(byte, ubyte, short, ushort, int, uint, long, ulong) x; }
 struct floating  { alias TT!(float, double, real) x; }
-struct imaginary { alias TT!(ifloat, idouble, ireal) x; }
-struct complex   { alias TT!(cfloat, cdouble, creal) x; }
 
 struct all       { alias TT!("+=", "-=", "*=", "/=", "%=", "&=", "|=", "^=", "<<=", ">>=", ">>>=") x; }
 struct arith     { alias TT!("+=", "-=", "*=", "/=", "%=") x; }
@@ -76,17 +74,6 @@ void OpAssignCases(alias X)()
     X!(floating, boolean, arith)();
     X!(floating, integral, arith)();
     X!(floating, floating, arith)();
-
-    X!(imaginary, boolean, muldivmod)();
-    X!(imaginary, integral, muldivmod)();
-    X!(imaginary, floating, muldivmod)();
-    X!(imaginary, imaginary, addsub)();
-
-    X!(complex, boolean, arith)();
-    X!(complex, integral, arith)();
-    X!(complex, floating, arith)();
-    X!(complex, imaginary, arith)();
-    X!(complex, complex, nomod)();
 }
 
 void OpReAssignCases(alias X)()
@@ -99,23 +86,12 @@ void OpReAssignCases(alias X)()
     X!(floating, boolean, arith)();
     X!(floating, integral, arith)();
     X!(floating, floating, arith)();
-
-    X!(imaginary, boolean, muldivmod)();
-    X!(imaginary, integral, muldivmod)();
-    X!(imaginary, floating, muldivmod)();
-    X!(imaginary, imaginary, addsub)();
-
-    X!(complex, boolean, arith)();
-    X!(complex, integral, arith)();
-    X!(complex, floating, arith)();
-    X!(complex, imaginary, arith)();
-    X!(complex, complex, nomod)();
 }
 
 void main()
 {
     OpAssignCases!TestOpAssign();
     OpAssignCases!TestOpAssignAssign(); // was once disabled due to bug 7436
-    OpAssignCases!TestOpAssignAuto(); // 5181
+    OpAssignCases!TestOpAssignAuto(); // https://issues.dlang.org/show_bug.cgi?id=5181
     OpReAssignCases!TestOpAndAssign();
 }