From 27f98ae6741019cb3615c0ad4ff65f4b16a5d929 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 13 May 2014 15:14:59 +0000 Subject: [PATCH] Updated the test case to show that no diagnostics are expected, and not require emitting the AST until after the AST printing for statement attributes is updated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208703 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/PCH/stmt-attrs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/PCH/stmt-attrs.cpp b/test/PCH/stmt-attrs.cpp index 9cf6642709..5913450003 100644 --- a/test/PCH/stmt-attrs.cpp +++ b/test/PCH/stmt-attrs.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -std=c++11 -emit-pch -o %t.a %s -// RUN: %clang_cc1 -std=c++11 -include-pch %t.a %s -ast-print -o - | FileCheck %s +// RUN: %clang_cc1 -std=c++11 -fsyntax-only -include-pch %t.a %s +// expected-no-diagnostics #ifndef HEADER #define HEADER -- 2.40.0