repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cl: Don't use device_infos if num_device_infos == 0
[piglit.git]
/
tests
/
glslparsertest
/
glsl2
/
redeclaration-17.vert
blob
ce54113be2f391081cedc480b254e150540835fa
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
//
5
// [end config]
6
7
/* FAIL - id(5) should be the struct constructor, not the function */
8
9
int id(int x) {
10
return x;
11
}
12
13
void main() {
14
struct id {
15
int n;
16
};
17
int i = id(5);
18
}