summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/parameter-already-defined.slang.expected
blob: 42156a020e28ff994af91cf361a31e89e4776878 (plain)
1
2
3
4
5
6
7
8
9
10
11
result code = -1
standard error = {
tests/diagnostics/parameter-already-defined.slang(4): error 30200: declaration of 'a' conflicts with existing declaration
int foo( int a, float a ) { return 0; }
                      ^
tests/diagnostics/parameter-already-defined.slang(4): note: see previous declaration of 'a'
int foo( int a, float a ) { return 0; }
             ^
}
standard output = {
}