5
// TODO: Puma should detect a problem if g1 and g2 are both called g
11
void g2 () { f (); g1 (); }
15
advice call("% f()") : before () {
16
printf (" call (\"%s\")\n", JoinPoint::signature ());
18
advice execution ("% ...::%(...)") : before () {
19
// TODO: the signature of f, g1, and g2 should show the anonymous namespace
20
printf (" execution (\"%s\")\n", JoinPoint::signature ());
25
printf ("AnonymousStuff: tests if ac++ can deal with anonymous classes,\n");
26
printf (" namespace, etc.\n");
27
printf ("=============================================================\n");
30
printf ("=============================================================\n");
31
return 0; // TODO: it should also work without this return