[llvm-commits] [llvm] r66514 - /llvm/trunk/test/FrontendC/2009-03-09-WeakDeclarations-1.c
Bill Wendling
isanbard at gmail.com
Mon Mar 9 17:35:21 PDT 2009
On Mon, Mar 9, 2009 at 4:17 PM, Stuart Hastings <stuart at apple.com> wrote:
> Author: stuart
> Date: Mon Mar 9 19:17:39 2009
> New Revision: 66514
>
> URL: http://llvm.org/viewvc/llvm-project?rev=66514&view=rev
> Log:
> Check for warnings about inappropriate weak_imports.
> Darwin-specific; marked XFAIL for others.
>
> Added:
> llvm/trunk/test/FrontendC/2009-03-09-WeakDeclarations-1.c
>
> Added: llvm/trunk/test/FrontendC/2009-03-09-WeakDeclarations-1.c
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2009-03-09-WeakDeclarations-1.c?rev=66514&view=auto
>
> ==============================================================================
> --- llvm/trunk/test/FrontendC/2009-03-09-WeakDeclarations-1.c (added)
> +++ llvm/trunk/test/FrontendC/2009-03-09-WeakDeclarations-1.c Mon Mar 9 19:17:39 2009
> @@ -0,0 +1,22 @@
> +// RUN: $llvmgcc $test -c -o /dev/null |& \
> +// RUN: egrep {(14|15|22): warning:} | \
> +// RUN: wc -l | grep --quiet 3
> +// TARGET: *-*-darwin
> +// XFAIL: alpha|ia64|sparc
I think you need to use:
XTARGET: darwin
XFAIL: *
here.
> +// END.
This isn't technically needed, but doesn't hurt. :)
-bw
More information about the llvm-commits
mailing list