1 #!/bin/bash 2 # 3 # This file was generated by create_test_cases.py. 4 # 5 # Test that a void return at the end of a function is 6 # eliminated. 7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 1, 0, 0)' <<EOF 8 ((declare (out) float a) 9 (function main 10 (signature void (parameters) 11 ((assign (x) (var_ref a) (constant float (1.000000))) (return))))) 12 EOF 13