mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-31 15:30:22 +08:00
stdio-opt-2.c: Also test __builtin_puts and __builtin_putchar.
* gcc.c-torture/execute/stdio-opt-2.c: Also test __builtin_puts and __builtin_putchar. From-SVN: r39307
This commit is contained in:
parent
013dea401a
commit
75c1416b92
@ -1,3 +1,8 @@
|
||||
2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* gcc.c-torture/execute/stdio-opt-2.c: Also test __builtin_puts
|
||||
and __builtin_putchar.
|
||||
|
||||
2001-01-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gcc.dg/gnu99-init-1.c: Add 3 more designated range initializer
|
||||
|
@ -33,6 +33,10 @@ int main()
|
||||
/* Test at least one instance of the __builtin_ style. We do this
|
||||
to ensure that it works and that the prototype is correct. */
|
||||
__builtin_printf ("%s\n", "hello");
|
||||
/* These builtin stubs are called by __builtin_printf, ensure their
|
||||
prototypes are set correctly too. */
|
||||
__builtin_putchar ('\n');
|
||||
__builtin_puts ("hello");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user