r194072 - Fix a test that was never being run, mark it XFAIL

Alp Toker alp at nuanti.com
Tue Nov 5 04:45:46 PST 2013

Author: alp
Date: Tue Nov  5 06:45:46 2013
New Revision: 194072

URL: http://llvm.org/viewvc/llvm-project?rev=194072&view=rev
Fix a test that was never being run, mark it XFAIL

Turns out this has always been crashing since the test landed in

  Assertion failed: (Access != AS_none && "Access specifier is AS_none inside a record decl"), function CheckAccessDeclContext, file clang/lib/AST/DeclBase.cpp, line 690.

Needs attention.


Modified: cfe/trunk/test/OpenMP/threadprivate_ast_print.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/threadprivate_ast_print.cpp?rev=194072&r1=194071&r2=194072&view=diff
--- cfe/trunk/test/OpenMP/threadprivate_ast_print.cpp (original)
+++ cfe/trunk/test/OpenMP/threadprivate_ast_print.cpp Tue Nov  5 06:45:46 2013
@@ -1,7 +1,9 @@
 // RUN: %clang_cc1 -verify -fopenmp -ast-print %s | FileCheck %s
-// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -emit-pch -o %t
+// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -emit-pch -o %t %s
 // RUN: %clang_cc1 -fopenmp -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-print
 // expected-no-diagnostics
+// FIXME: This test has been crashing since r186647.
+// XFAIL: *
 #ifndef HEADER
 #define HEADER

More information about the cfe-commits mailing list