blob: 84bfd41b504d3719bd18324e9b8b51cbb97d56c5 [file] [log] [blame]
/* APPLE LOCAL file radar 4280641 */
/* Check that gcc does not loop when generating 'weak' barriers. */
/* { dg-options "-fobjc-gc" } */
/* { dg-do compile { target powerpc*-*-darwin* i?86*-*-darwin* } } */
/* { dg-require-effective-target objc_gc } */
template <class FuncImp>
inline int *getMe()
{
return 10;
}
template <class FuncImp, class ThisImp, class ParentImp>
inline bool getP()
{
getMe<FuncImp>;
return true;
}