~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/compiler/glsl/glcpp/tests/063-comments.c

  • Committer: mmach
  • Date: 2022-09-22 19:56:13 UTC
  • Revision ID: netbit73@gmail.com-20220922195613-wtik9mmy20tmor0i
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* this is a comment */
2
 
// so is this
3
 
// */
4
 
f = g/**//h;
5
 
/*//*/l();
6
 
m = n//**/o
7
 
+ p;
8
 
/* this
9
 
comment spans
10
 
multiple lines and
11
 
contains *** stars
12
 
and slashes / *** /
13
 
and other stuff.
14
 
****/
15
 
more code here
16
 
/* Test that /* nested
17
 
   comments */
18
 
are not treated like comments.
19
 
/*/ this is a comment */
20
 
/*/*/