xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/arm-darwin-builtin.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // FIXME: Disable pending PR4941.
2*f4a2713aSLionel Sambuc // RUX: clang -target x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s 2> %t &&
3*f4a2713aSLionel Sambuc // RUX: grep -- "-fno-builtin-strcat" %t &&
4*f4a2713aSLionel Sambuc // RUX: grep -- "-fno-builtin-strcpy" %t &&
5*f4a2713aSLionel Sambuc 
6*f4a2713aSLionel Sambuc // FIXME: Disable pending PR4941.
7*f4a2713aSLionel Sambuc // RUX: clang -target x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s -fbuiltin-strcat -fbuiltin-strcpy 2> %t &&
8*f4a2713aSLionel Sambuc // RUX: not grep -- "-fno-builtin-strcat" %t &&
9*f4a2713aSLionel Sambuc // RUX: not grep -- "-fno-builtin-strcpy" %t &&
10*f4a2713aSLionel Sambuc 
11*f4a2713aSLionel Sambuc // RUN: %clang -target x86_64-apple-darwin9 -arch arm -### -fsyntax-only %s -fbuiltin-strcat -fbuiltin-strcpy 2> %t
12*f4a2713aSLionel Sambuc // RUN: not grep -- "-fno-builtin-strcat" %t
13*f4a2713aSLionel Sambuc // RUN: not grep -- "-fno-builtin-strcpy" %t
14*f4a2713aSLionel Sambuc 
15