blob: 328bb5b264fcd4a063b17f679ac37cb61299c94b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//TEST:COMPARE_HLSL: -profile cs_5_0 -target dxbc-assembly -no-checking
#ifdef __SLANG__
__import import_overload_error;
#else
void foo(int a) {}
void foo(float b) {}
#endif
void main()
{
// Note(tfoley): futzing around with tokens to
// make sure error message gets reported at a
// consistent location between languages.
int a;
foo();
}
|