blob: 18efc37f6e11f6c4ee07e5f7c2ab71334db25d2f [file] [log] [blame]
#!/bin/bash
#
# This file was generated by create_test_cases.py.
#
# Test that a redundant continue-statement at the end of a
# loop is removed.
../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 0, 0, 0)' <<EOF
((declare (out) float a)
(function main
(signature void (parameters)
((loop () () () ()
((assign (x) (var_ref a) (constant float (1.000000))) continue))))))
EOF