Daniel Dunbar | 2ffe029 | 2009-09-10 03:37:02 +0000 | [diff] [blame] | 1 | // RUN: clang -ccc-host-triple x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s 2> %t && |
| 2 | // RUN: grep -- "-fno-builtin-strcat" %t && |
| 3 | // RUN: grep -- "-fno-builtin-strcpy" %t && |
| 4 | |
| 5 | // RUN: clang -ccc-host-triple x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s -fbuiltin-strcat -fbuiltin-strcpy 2> %t && |
| 6 | // RUN: not grep -- "-fno-builtin-strcat" %t && |
| 7 | // RUN: not grep -- "-fno-builtin-strcpy" %t && |
| 8 | |
| 9 | // RUN: clang -ccc-no-clang -ccc-host-triple x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s -fbuiltin-strcat -fbuiltin-strcpy 2> %t && |
| 10 | // RUN: not grep -- "-fno-builtin-strcat" %t && |
| 11 | // RUN: not grep -- "-fno-builtin-strcpy" %t |
| 12 | |