Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.ns / koenig6.C
blobf77d975300cd981c2eb5136f1ff48e77bda3847b
1 // { dg-do assemble  }
2 namespace A{
3   struct X{};
5   X foo(X a){return a;}
6   void bar(X*){}
9 int main()
11   A::X x;
12   bar(&foo(x));  // { dg-warning "" } address of temporary