| commit | 334a10a343b3406b0be3da0f1ff8f2f744c64ce7 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Wed Aug 25 15:47:31 2010 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Wed Aug 25 15:47:31 2010 +0000 |
| tree | 4da7108dea4a33d6cd295fa7d978a44d7511a045 | |
| parent | 12367e30e04e0f90e1c3b917fb7e596b74ad9a3e [diff] [blame] |
Implement __builtin_printf, __builtin_fprintf. Fixes <rdar://problem/8336581>. llvm-svn: 112049
diff --git a/clang/test/Sema/builtins.c b/clang/test/Sema/builtins.c index 7d6d54d..787630c 100644 --- a/clang/test/Sema/builtins.c +++ b/clang/test/Sema/builtins.c
@@ -90,3 +90,8 @@ int old; old = __sync_fetch_and_min((volatile int *)&old, 1); } + +// <rdar://problem/8336581> +void test15(const char *s) { + __builtin_printf("string is %s\n", s); +}