aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/CStyleComment.td
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen/CStyleComment.td')
-rw-r--r--test/TableGen/CStyleComment.td14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/TableGen/CStyleComment.td b/test/TableGen/CStyleComment.td
new file mode 100644
index 0000000..703ae68
--- /dev/null
+++ b/test/TableGen/CStyleComment.td
@@ -0,0 +1,14 @@
+// Test that multiline, nested, comments work correctly.
+//
+// RUN: tblgen < %s
+
+/* Foo
+ bar
+ /*
+ blah
+ */
+
+ stuff
+ */
+
+def x;