summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/CommentSyntax.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/CommentSyntax.java')
-rw-r--r--tests/pureJava/CommentSyntax.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/pureJava/CommentSyntax.java b/tests/pureJava/CommentSyntax.java
new file mode 100644
index 000000000..ac449b3b2
--- /dev/null
+++ b/tests/pureJava/CommentSyntax.java
@@ -0,0 +1,19 @@
+/** this is a comment */
+
+/* So is this */
+
+// so is this, and so is the form below
+
+/**/
+
+public class CommentSyntax {
+ public static void main(String[] args) {
+ /** this is a comment */
+
+ /* So is this */
+
+ // so is this, and so is the form below
+
+ /**/
+ }
+}