source: translator/Tests/Syntax/CommentMisc.c @ 51b7345

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 51b7345 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 428 bytes
RevLine 
[51b7345]1/* single line */
2// single line
3
4// single line containing */
5// single line containing /*
6// single line containing /* */
7
8/* 1st */ int i;
9int i; /* 2nd */
10/* 1st */ int i; /* 2nd */
11/* 1st */ /* 2nd */
12
13/* 1st
14   2nd */ int i;
15
16/*
17*/
18
19/*
20
21*/
22
23/*
24  1st
25*/
26
27/*
28  1st
29  2nd
30*/
31
32// ignore preprocessor directives
33
34#line 2
35 #
36 #include <fred>
37        #define mary abc
38
39// alternative ANSI99 brackets
40
41int main() <%
42    int x<:10:>;
43%>
44
Note: See TracBrowser for help on using the repository browser.