blob: 76c3062d6a1308ce02280162fed2243736d026a6 [file] [log] [blame]
John Kessenich8f9fdc92017-03-30 16:22:26 -06001static float4 v1;
2static float4 v2;
3
4namespace N1 {
5 float4 getVec() { return v1; }
6}
7
8namespace N2 {
9 static float gf;
10 float4 getVec() { return v2; }
11 namespace N3 {
12 float4 getVec() { return v2; }
13
14 class C1 {
15 float4 getVec() { return v2; }
16 };
17 }
18}
19
20float4 main() : SV_Target0
21{
22 return N1::getVec() + N2::getVec() + N2::N3::getVec() + N2::N3::C1::getVec() * N2::gf;
23}