view gcc/testsuite/gcc.dg/pr69391-2.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do run } */
/* { dg-additional-options "-ftrack-macro-expansion=1" } */
#define STR_I(X) #X
#define STR(X) STR_I(X)
#define LINE STR(__LINE__) STR(__LINE__)
int main()
{
  const char *s = LINE;
  if (s[0] != '8' || s[1] != '8')
    __builtin_abort ();
  return 0;
}