blob: 1538bf6ccd6f469b792ef3cb8b2745ca074542c1 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fopt-info-loop-note" } */
extern void test_string_literal (void);
extern void test_tree (void);
extern void test_gimple (int);
extern void test_cgraph_node (void);
extern void test_wide_int (void);
extern void test_poly_int (void);
extern void test_scopes (void);
void test_remarks (void)
{
test_string_literal (); /* { dg-message "test of dump for 'test_string_literal'" } */
test_tree (); /* { dg-message "test of tree: 0" } */
test_gimple (42); /* { dg-message "test of gimple: test_gimple \\(42\\);" } */
test_cgraph_node (); /* { dg-message "test of callgraph node: test_cgraph_node/\[0-9\]+" } */
test_wide_int (); /* { dg-message "test of wide int: 0" } */
test_poly_int (); /* { dg-message "test of poly int: 42" } */
/* Dump messages in nested scopes are not printed by default, and
require "-internals". */
test_scopes ();
}