(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
plugin/
dump-1.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-fopt-info-loop-note" } */
       3  
       4  extern void test_string_literal (void);
       5  extern void test_tree (void);
       6  extern void test_gimple (int);
       7  extern void test_cgraph_node (void);
       8  extern void test_wide_int (void);
       9  extern void test_poly_int (void);
      10  extern void test_scopes (void);
      11  
      12  void test_remarks (void)
      13  {
      14    test_string_literal (); /* { dg-message "test of dump for 'test_string_literal'" } */
      15    test_tree (); /* { dg-message "test of tree: 0" } */
      16    test_gimple (42); /* { dg-message "test of gimple: test_gimple \\(42\\);" } */
      17    test_cgraph_node (); /* { dg-message "test of callgraph node: test_cgraph_node/\[0-9\]+" } */
      18    test_wide_int (); /* { dg-message "test of wide int: 0" } */
      19    test_poly_int (); /* { dg-message "test of poly int: 42" } */
      20  
      21    /* Dump messages in nested scopes are not printed by default, and
      22       require "-internals".  */
      23    test_scopes ();
      24  }