[Attr] Merge two dependent tests from different directories

Suggested at: https://reviews.llvm.org/D43248

llvm-svn: 327456
This commit is contained in:
Joel E. Denny 2018-03-13 22:18:29 +00:00
parent a7463df6e2
commit b17a329f5e
2 changed files with 2 additions and 7 deletions

View File

@ -1,5 +0,0 @@
// RUN: %clang -emit-ast -o %t.ast %S/../Sema/attr-print.cpp
// RUN: %clang_cc1 %t.ast -ast-print | FileCheck %S/../Sema/attr-print.cpp
// %S/../Sema/attr-print.cpp exercises many different attributes, so we reuse
// it here to check -emit-ast for attributes.

View File

@ -1,6 +1,6 @@
// RUN: %clang_cc1 %s -ast-print | FileCheck %s
// This file is also used as input for %S/../Frontend/ast-attr.cpp.
// RUN: %clang -emit-ast -o %t.ast %s
// RUN: %clang_cc1 %t.ast -ast-print | FileCheck %s
// CHECK: void xla(int a) __attribute__((xray_log_args(1)));
void xla(int a) __attribute__((xray_log_args(1)));