Sign in
fuchsia
/
third_party
/
glslang
/
fd1f96d2020496760290e5cef5d68ae83e5dd5c4
/
.
/
Test
/
noMatchingFunction.frag
blob: d09564528e7a3e2536d4bbe70226eca974e98341 [
file
] [
log
] [
blame
]
#version 330
struct
S
{
float
a
;
};
float
func
(
S s
)
{
return
s
.
a
;
}
layout
(
location
=
0
)
out
vec4 o_color
;
void
main
()
{
float
c
=
func
(
1.0f
);
// ERROR: no matching function
o_color
=
vec4
(
c
);
}