[stupid-crypto] push by b.clifford - Test to check that structure declaration without initialisation is a f... on 2010-03-28 14:16 GMT

0 views
Skip to first unread message

stupid...@googlecode.com

unread,
Mar 28, 2010, 10:16:32 AM3/28/10
to stupi...@googlegroups.com
Revision: 5aff73499b
Author: Ben Clifford <be...@hawaga.org.uk>
Date: Sun Mar 28 07:15:30 2010
Log: Test to check that structure declaration without initialisation is a
failure.
http://code.google.com/p/stupid-crypto/source/detail?r=5aff73499b

Added:
/test/bug-struct-decl-without-initialisation.stupid

=======================================
--- /dev/null
+++ /test/bug-struct-decl-without-initialisation.stupid Sun Mar 28 07:15:30
2010
@@ -0,0 +1,10 @@
+"EXPECT-BUILD-FAIL:";
+
+struct test (
+ uint32 a,
+ uint32 b
+);
+
+function(ostream out) test() {
+ struct test s;
+}

Reply all
Reply to author
Forward
0 new messages