summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/ice8255.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/ice8255.d')
-rw-r--r--gcc/testsuite/gdc.test/fail_compilation/ice8255.d11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/ice8255.d b/gcc/testsuite/gdc.test/fail_compilation/ice8255.d
deleted file mode 100644
index 0db3abc395f..00000000000
--- a/gcc/testsuite/gdc.test/fail_compilation/ice8255.d
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
-TEST_OUTPUT:
----
-fail_compilation/ice8255.d(11): Error: function `ice8255.F!(G).F.f(ref G _param_0)` is not callable using argument types `(G)`
-fail_compilation/ice8255.d(11): cannot pass rvalue argument `G()` of type `G` to parameter `ref G _param_0`
-fail_compilation/ice8255.d(11): while evaluating `pragma(msg, F().f(G()))`
----
-*/
-struct G {}
-struct F(T) { void f(ref T) {} }
-pragma(msg, F!G().f(G.init));