summaryrefslogtreecommitdiff
path: root/t/lib/h2ph.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-28 13:37:31 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-28 13:37:31 +0000
commitd4386644f0ff20302112b8bd21b242a926cda588 (patch)
tree9bcc0a42c160d61da0e18f708d03864499aeef14 /t/lib/h2ph.h
parent4e15175a644dc94dffd2be1324573f20050a9a0f (diff)
downloadperl-d4386644f0ff20302112b8bd21b242a926cda588.tar.gz
Test cases for the first half of #13338.
p4raw-id: //depot/perl@13339
Diffstat (limited to 't/lib/h2ph.h')
-rw-r--r--t/lib/h2ph.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/lib/h2ph.h b/t/lib/h2ph.h
index 9fd535d34e..f12a6776cb 100644
--- a/t/lib/h2ph.h
+++ b/t/lib/h2ph.h
@@ -98,4 +98,20 @@ typedef enum _days_of_week { sun, mon, tue, wed, thu, fri, sat, Sun=0, Mon,
??= define SOMETHING_ELSE_TRIGRAPHIC_8 "??>" /* | ??>| }| */
??=endif
+/* comments (that look like string) inside enums... */
+
+enum {
+ /* foo;
+ can't
+ */
+ };
+
+enum flimflam {
+ flim,
+ /* foo;
+ can't
+ */
+ flam
+ } flamflim;
+
#endif /* _H2PH_H_ */