2 // { dg-options "-O2" }
3 // Test whether this builtin minimally works in G++.
4 // Origin: Kaveh Ghazi Jan 16, 2001
5 // Copyright (C) 2001 Free Software Foundation.
10 extern "C" void abort (void);
17 ::__builtin_printf ("hello world\n");
18 ::__builtin_printf ("\n");
19 ::__builtin_printf ("%s\n", "hello world");
20 ::__builtin_printf ("%c", '\n');