repo.or.cz
/
piglit
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add more structure constructor tests.
[piglit/hramrach.git]
/
tests
/
glslparsertest
/
glsl2
/
redeclaration-17.vert
blob
163ee4073e5c13673edea68f8cc7a1271255c4d3
1
/* FAIL - id(5) should be the struct constructor, not the function */
2
3
int id(int x) {
4
return x;
5
}
6
7
void main() {
8
struct id {
9
int n;
10
};
11
int i = id(5);
12
}