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
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
preprocessor
/
redefine-02.vert
blob
d4c68a4a6b23af5e176bba5e5ad800a609c28a13
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
// [end config]
5
6
#define A 1
7
#define A
8
9
/* Some compilers generate spurious errors if a shader does not contain
10
* any code or declarations.
11
*/
12
int foo(void) { return 1; }