changeset 128:7264c61088c4

Moved a test
author Anders Johnsen <skabet@gmail.com>
date Sat, 21 Jun 2008 17:32:27 +0200
parents d5b33ee318d4
children ed815b31479b
files tests/code/public_1.d tests/parser/public_2.d
diffstat 2 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/code/public_1.d	Sat Jun 21 17:32:27 2008 +0200
@@ -0,0 +1,15 @@
+//fail
+
+struct A
+{
+    private int b;
+    public int c;
+}
+
+
+int main()
+{
+    A a;
+    a.b = 4; // should fail
+    a.c = 5;
+}
--- a/tests/parser/public_2.d	Sat Jun 21 17:29:17 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-//fail
-
-struct A
-{
-    private int b;
-    public int c;
-}
-
-
-int main()
-{
-    A a;
-    a.b = 4;
-    a.c = 5; // should fail
-}