#!/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 |