From 221ad26139b7b45e7e75c3e87fa322372da10c6c Mon Sep 17 00:00:00 2001 From: Daniel Murphy Date: Sat, 11 Feb 2012 16:31:11 +1100 Subject: [PATCH] Restore tests that were accidentally removed. --- test/fail_compilation/fail4269e.d | 5 +++++ test/fail_compilation/fail4269f.d | 5 +++++ test/fail_compilation/fail4269g.d | 6 ++++++ 3 files changed, 16 insertions(+) create mode 100644 test/fail_compilation/fail4269e.d create mode 100644 test/fail_compilation/fail4269f.d create mode 100644 test/fail_compilation/fail4269g.d diff --git a/test/fail_compilation/fail4269e.d b/test/fail_compilation/fail4269e.d new file mode 100644 index 000000000000..d7b2f23308be --- /dev/null +++ b/test/fail_compilation/fail4269e.d @@ -0,0 +1,5 @@ + +static if(is(typeof(X5.init))) {} +typedef Y X5; + +void main() {} diff --git a/test/fail_compilation/fail4269f.d b/test/fail_compilation/fail4269f.d new file mode 100644 index 000000000000..4033447426b8 --- /dev/null +++ b/test/fail_compilation/fail4269f.d @@ -0,0 +1,5 @@ + +static if(is(typeof(X16))) {} +alias X16 X16; + +void main() {} diff --git a/test/fail_compilation/fail4269g.d b/test/fail_compilation/fail4269g.d new file mode 100644 index 000000000000..9241e481de49 --- /dev/null +++ b/test/fail_compilation/fail4269g.d @@ -0,0 +1,6 @@ + +int[2] d; +static if(is(typeof(Xg.init))) {} +alias d[1] Xg; + +void main() {}