diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-28 01:27:25 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-28 01:27:25 +0000 |
commit | b2db84ebc71721c1d877d191bdbedb6dbc536616 (patch) | |
tree | 4b84b36229c9a14e32e8e1269b8ae8543f4e7793 /gcc | |
parent | 38d76e41bcf0c4797e364ae4ceee612b68b8d57f (diff) | |
download | gcc-b2db84ebc71721c1d877d191bdbedb6dbc536616.tar.gz |
* gcc.c-torture/execute/stdio-opt-2.c: Also test __builtin_puts
and __builtin_putchar.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/stdio-opt-2.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fbfbe8ec842..eec04ff1cae 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.c-torture/execute/stdio-opt-2.c b/gcc/testsuite/gcc.c-torture/execute/stdio-opt-2.c index 1e303361a11..e917205c249 100644 --- a/gcc/testsuite/gcc.c-torture/execute/stdio-opt-2.c +++ b/gcc/testsuite/gcc.c-torture/execute/stdio-opt-2.c @@ -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; } |