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