Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

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