From d7b6459f80bcd95c2e2413c431ee254d0af6dc34 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 18 Jul 2013 17:41:26 +0000 Subject: [PATCH] Test contents were somehow duplicated, resulting in any testcase that fails automatically failing twice. Removing the duplicates. llvm-svn: 186590 --- clang/test/Sema/attr-args.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/clang/test/Sema/attr-args.c b/clang/test/Sema/attr-args.c index 61358016fbe1..efaea1d71fa2 100644 --- a/clang/test/Sema/attr-args.c +++ b/clang/test/Sema/attr-args.c @@ -15,26 +15,3 @@ int a; inline ATTR_DECL(a) void* foo(); // expected-error{{attribute takes no arguments}} - - - -// RUN: %clang_cc1 -DATTR=noreturn -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=always_inline -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=cdecl -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=const -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=fastcall -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=malloc -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=nothrow -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=stdcall -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=used -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=unused -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s -// RUN: %clang_cc1 -DATTR=weak -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s - -#define ATTR_DECL(a) __attribute__((ATTR(a))) - -int a; - -inline ATTR_DECL(a) void* foo(); // expected-error{{attribute takes no arguments}} - - -