blob: 41f13f3f7c238478f5b5c035e7da0a318d29c9d2 [file] [log] [blame]
Daniel Dunbarf84a4a42009-09-10 04:57:27 +00001// FIXME: Disable pending PR4941.
Sebastian Pop9ec60df2012-01-20 22:01:23 +00002// RUX: clang -target x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s 2> %t &&
Daniel Dunbarf84a4a42009-09-10 04:57:27 +00003// 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.
Sebastian Pop9ec60df2012-01-20 22:01:23 +00007// RUX: clang -target x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s -fbuiltin-strcat -fbuiltin-strcpy 2> %t &&
Daniel Dunbarf84a4a42009-09-10 04:57:27 +00008// RUX: not grep -- "-fno-builtin-strcat" %t &&
9// RUX: not grep -- "-fno-builtin-strcpy" %t &&
Daniel Dunbar2ba91572009-09-10 03:37:02 +000010
Sebastian Pop9ec60df2012-01-20 22:01:23 +000011// RUN: %clang -ccc-no-clang -target 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