OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [strong-using-1.C] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// PR c++/13594 (secondary)
// PR c++/13594 (secondary)
// { dg-do compile }
// { dg-do compile }
namespace fool {
namespace fool {
  namespace foo {
  namespace foo {
    template  void swap(T, T);
    template  void swap(T, T);
  }
  }
  using namespace foo __attribute__((strong));
  using namespace foo __attribute__((strong));
  template  void swap(T);
  template  void swap(T);
}
}
int main() {
int main() {
  // we used to fail to look up the associated namespace here
  // we used to fail to look up the associated namespace here
  fool::swap(1, 1);
  fool::swap(1, 1);
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.