Made '\' at end of C++ comments be a warning. It is line continuation for some versi...
[platform/upstream/glslang.git] / Test / lineContinuation.vert
1 #version 300 es
2
3 // this file cont\
4 ains no errors other than the #error which are there to see if line numbering for errors is correct
5
6 #error e1
7
8 float f\
9 oo;  // same as 'float foo;'
10
11 #error e2
12
13 #define MAIN void main() \
14    {                     \
15 gl_Position = vec4(foo); \
16
17
18 #error e3
19
20 MAIN
21
22 vec4 foo2(vec4 a)
23 {                                
24   vec4 b = a;       \
25   return b;                   
26 }
27
28 // aoeuntheo unatehutna \ antaehnathe 
29 // anteonuth $ natohe " '
30 // anteonuth     natohe
31
32 #define FOO int /* \
33 */ goodDecl;
34
35 FOO
36