1// [config]
2// expect_result: fail
3// glsl_version: 1.50
4// require_extensions: GL_ARB_shader_subroutine
5// [end config]
6
7#version 150
8#extension GL_ARB_shader_subroutine: require
9
10subroutine void func_type();
11
12/* Return types don't match */
13subroutine (func_type) int f() { return 1; }
14