John Kessenich | 971a0a8 | 2017-06-07 15:06:58 -0600 | [diff] [blame] | 1 | // For -Iinc1/path1 -Iinc1/path2 |
2 | // bar.h from local directory will define i1, while the ones from inc1/path1 and inc1/path2 will not. | ||||
3 | // notHere.h is only in inc1/path1 and inc2/path2, and only inc1/path1 defines p1, p2, and p3 | ||||
4 | // parent.h is local again, and defines i4 | ||||
5 | |||||
6 | #include "bar.h" | ||||
7 | #include "notHere.h" | ||||
8 | #include "parent.h" | ||||
9 | |||||
10 | float4 main() : SV_Position | ||||
11 | { | ||||
12 | return i1 + i4 + p1 + p2 + p3; | ||||
13 | } |