blob: 9d4cee0f05e31a22d301db135a338c7f0ccefe77 [file] [log] [blame]
Daniel Dunbarf84a4a42009-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 Dunbar2ba91572009-09-10 03:37:02 +00005
Daniel Dunbarf84a4a42009-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 Dunbar2ba91572009-09-10 03:37:02 +000010
Daniel Dunbar80737ad2009-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 Dunbar4fcfde42009-11-08 01:45:36 +000012// RUN: not grep -- "-fno-builtin-strcat" %t
Daniel Dunbar2ba91572009-09-10 03:37:02 +000013// RUN: not grep -- "-fno-builtin-strcpy" %t
14