From fd7da7690b33823d12bfd7b0b2d28a6f069e7dde 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. llvm-svn: 208703 --- clang/test/PCH/stmt-attrs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/test/PCH/stmt-attrs.cpp b/clang/test/PCH/stmt-attrs.cpp index 9cf66427096f..59134500031f 100644 --- a/clang/test/PCH/stmt-attrs.cpp +++ b/clang/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