From bb145e80d9c0f6a18d02508c30f922f38ccede5e 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186590 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/attr-args.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/test/Sema/attr-args.c b/test/Sema/attr-args.c index 61358016fb..efaea1d71f 100644 --- a/test/Sema/attr-args.c +++ b/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}} - - - -- 2.40.0