(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
plugin/
location-overflow-test-pr83173.c
       1  /*
       2    { dg-options "-fplugin-arg-location_overflow_plugin-value=0x60000001" }
       3    { dg-do preprocess }
       4  */
       5  
       6  #include "location-overflow-test-pr83173.h"
       7  
       8  int
       9  main ()
      10  {
      11    return 0;
      12  }
      13  
      14  /*
      15    The preprocessor output should contain
      16    '# 1 "path/to/location-overflow-test-pr83173-1.h" 1', but should not
      17    contain any other references to location-overflow-test-pr83183-1.h.
      18  
      19    { dg-final { scan-file location-overflow-test-pr83173.i "# 1 \[^\r\n\]+location-overflow-test-pr83173-1\.h\" 1" } }
      20    { dg-final { scan-file-not location-overflow-test-pr83173.i "# (?!1 \[^\r\n\]+location-overflow-test-pr83173-1\.h\" 1)\[0-9\]+ \[^\r\n\]+location-overflow-test-pr83173-1\.h\"" } }
      21  */