xref: /aosp_15_r20/external/skia/tests/sksl/errors/DivideByZero.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker### Compilation failed:
2*c8dee2aaSAndroid Build Coastguard Worker
3*c8dee2aaSAndroid Build Coastguard Workererror: 1: division by zero
4*c8dee2aaSAndroid Build Coastguard Workerint a = 1 / 0;
5*c8dee2aaSAndroid Build Coastguard Worker        ^^^^^
6*c8dee2aaSAndroid Build Coastguard Workererror: 2: division by zero
7*c8dee2aaSAndroid Build Coastguard Workerfloat b = 1 / 0;
8*c8dee2aaSAndroid Build Coastguard Worker          ^^^^^
9*c8dee2aaSAndroid Build Coastguard Workererror: 3: division by zero
10*c8dee2aaSAndroid Build Coastguard Workerfloat c = 1.0 / 0.0;
11*c8dee2aaSAndroid Build Coastguard Worker          ^^^^^^^^^
12*c8dee2aaSAndroid Build Coastguard Workererror: 4: division by zero
13*c8dee2aaSAndroid Build Coastguard Workerfloat d = -67.0 / (3.0 - 3);
14*c8dee2aaSAndroid Build Coastguard Worker          ^^^^^^^^^^^^^^^^^
15*c8dee2aaSAndroid Build Coastguard Worker4 errors
16