1#version 100
2
3// non-line continuation comment \
4#error good error
5
6
7
8float f\
9oo;  // same as 'float foo;'
10
11#error e2
12
13#define MAIN void main() \
14   {                     \
15gl_Position = vec4(foo); \
16}
17
18#error e3
19
20MAIN
21
22vec4 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/* *@/*/
33//@
34
35#define A int q1 = \ 1
36#define B int q2 = \1
37#define C int q3 = $ 1
38#define D int q4 = @ 1
39
40const highp int a1 = \ 4;  // ERROR
41const highp int a2 = @ 3;  // ERROR
42const highp int a3 = $4;   // ERROR
43const highp int a4 = a2\;  // ERROR
44
45A;
46B;
47C;
48D;
49
50# \
51
52# \
53    error bad continuation
54
55#define QUOTE "ab\
56cd"
57