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-01.vert
blob
49e077550702ff4693d3c8d441d81f8b86ab8211
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
// [end config]
5
6
#define A
7
#define A 1
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; }