annotate gcc/testsuite/gcc.dg/cpp/20000419-1.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Test for erroneous deletion of the entire macro expansion when pruning
kono
parents:
diff changeset
2 \r escapes. Problem noted by DJ Delorie <dj@delorie.com>; test case
kono
parents:
diff changeset
3 distilled from GNU libc header files. */
kono
parents:
diff changeset
4 /* { dg-do preprocess } */
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 #define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias))
kono
parents:
diff changeset
7 #define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
kono
parents:
diff changeset
8 #define __ASMNAME2(prefix, cname) __STRING (prefix) cname
kono
parents:
diff changeset
9 #define __STRING(x) #x
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 __REDIRECT (a, b, c)
kono
parents:
diff changeset
12 __ASMNAME2 (__USER_LABEL_PREFIX__, harumph)
kono
parents:
diff changeset
13 /* { dg-bogus "used without args" "no args, 1" { target *-*-* } .-2 } */
kono
parents:
diff changeset
14 /* { dg-bogus "used without args" "no args, 1" { target *-*-* } .-2 } */