xref: /aosp_15_r20/external/skia/resources/sksl/errors/DivideByZero.rts (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Workerint a = 1 / 0;
2*c8dee2aaSAndroid Build Coastguard Workerfloat b = 1 / 0;
3*c8dee2aaSAndroid Build Coastguard Workerfloat c = 1.0 / 0.0;
4*c8dee2aaSAndroid Build Coastguard Workerfloat d = -67.0 / (3.0 - 3);
5*c8dee2aaSAndroid Build Coastguard Worker
6*c8dee2aaSAndroid Build Coastguard Worker/*%%*
7*c8dee2aaSAndroid Build Coastguard Workerdivision by zero
8*c8dee2aaSAndroid Build Coastguard Workerdivision by zero
9*c8dee2aaSAndroid Build Coastguard Workerdivision by zero
10*c8dee2aaSAndroid Build Coastguard Workerdivision by zero
11*c8dee2aaSAndroid Build Coastguard Worker*%%*/
12