* Added LocalDeclarationD.vb : Static local on structures.
svn path=/trunk/mcs/; revision=47756
+2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
+ * Added LocalDeclarationD.vb : Static local on structures.
+
2005-05-02 Ritvik Mayank <mritvik@novell.vom>
Removed Executable Property from the files
--- /dev/null
+' Author:
+' Maverson Eduardo Schulze Rosa (maverson@gmail.com)
+'
+' GrupoTIC - UFPR - Federal University of ParanĂ¡
+
+REM LineNo: 16
+REM ExpectedError: BC31400
+REM ErrorMessage: Local variables within methods of structures cannot be declared 'Static'.
+
+Imports System
+
+Structure Somestruct
+ Dim a1 as integer 'Just because a struct must contain at least one instance member variable or Event declaration.
+
+ sub testStaticVars
+ Static localStaticVariable as integer
+ end sub
+End Structure
+
+Module Test
+ Sub main()
+ End Sub
+End Module