changeset 7:7a155ba88c53 trunk

[svn r11] added another struct sample
author lindquist
date Wed, 26 Sep 2007 19:17:54 +0200
parents 35d93ce68cf4
children 5e69b77a5c51
files test/structs3.d
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/structs3.d	Wed Sep 26 19:17:54 2007 +0200
@@ -0,0 +1,17 @@
+module structs3;
+
+struct S
+{
+    float l;
+    char c;
+}
+
+struct T
+{
+    S s;
+    long l;
+}
+
+void main()
+{
+}