blob: c763a59c4c0458adf4f8464e66cc97fbd232d12d [file] [log] [blame]
/* APPLE LOCAL file radar 4508851 */
/* Test for usage of namespace inside @implementation. */
/* { dg-do compile } */
@interface MyDocument
@end
@implementation MyDocument
// This deprecated usage works
static void foo1() { }
// This preferred usage does _not_ work
namespace
{
void foo2() { }
}
namespace STD
{
void foo3 () {}
}
using namespace STD;
- (void) GARF {
foo2();
foo3();
}
@end