blob: 9d4cee0f05e31a22d301db135a338c7f0ccefe77 [file] [log] [blame]
Daniel Dunbar4fa08112009-09-10 04:57:27 +00001// FIXME: Disable pending PR4941.
2// RUX: clang -ccc-host-triple x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s 2> %t &&
3// RUX: grep -- "-fno-builtin-strcat" %t &&
4// RUX: grep -- "-fno-builtin-strcpy" %t &&
Daniel Dunbar2ffe0292009-09-10 03:37:02 +00005
Daniel Dunbar4fa08112009-09-10 04:57:27 +00006// FIXME: Disable pending PR4941.
7// RUX: clang -ccc-host-triple x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s -fbuiltin-strcat -fbuiltin-strcpy 2> %t &&
8// RUX: not grep -- "-fno-builtin-strcat" %t &&
9// RUX: not grep -- "-fno-builtin-strcpy" %t &&
Daniel Dunbar2ffe0292009-09-10 03:37:02 +000010
Daniel Dunbar5618e982009-12-15 22:01:24 +000011// RUN: %clang -ccc-no-clang -ccc-host-triple x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s -fbuiltin-strcat -fbuiltin-strcpy 2> %t
Daniel Dunbar8b576972009-11-08 01:45:36 +000012// RUN: not grep -- "-fno-builtin-strcat" %t
Daniel Dunbar2ffe0292009-09-10 03:37:02 +000013// RUN: not grep -- "-fno-builtin-strcpy" %t
14