aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/misc12.C
blob: 73db9bfccd4e2594b6748a1effba23e5859d9f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// GROUPS passed miscellaneous
extern "C" void exit (int);
extern "C" int printf (char *, ...);

/* Make sure cp-lex.c handles these properly--if this links, that means
   it emitted the strings instead of __FUNCTION__.0, etc.  */

int
main()
{
  char *a = __FUNCTION__;
  char *b = __PRETTY_FUNCTION__;

  printf ("PASS\n");
  exit (0);
}