blob: 955be3f8d35088d23ccdecba66982f2371bf986f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
#version 100
// non-line continuation comment \
#error good error
float f\
oo; // same as 'float foo;'
#error e2
#define MAIN void main() \
{ \
gl_Position = vec4(foo); \
}
#error e3
MAIN
vec4 foo2(vec4 a)
{
vec4 b = a; \
return b;
}
// aoeuntheo unatehutna \ antaehnathe
// anteonuth $ natohe " '
// anteonuth natohe
/*@*/
/* *@/*/
//@
#define A int q1 = \ 1
#define B int q2 = \1
#define C int q3 = $ 1
#define D int q4 = @ 1
const highp int a1 = \ 4; // ERROR
const highp int a2 = @ 3; // ERROR
const highp int a3 = $4; // ERROR
const highp int a4 = a2\; // ERROR
A;
B;
C;
D;
# \
# \
error bad continuation
#define QUOTE "ab\
cd"
|