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