r325123 - [AST] Fix passing large-array-init.cpp on builds without asserts

Ivan A. Kosarev via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 14 05:27:48 PST 2018


Author: kosarev
Date: Wed Feb 14 05:27:48 2018
New Revision: 325123

URL: http://llvm.org/viewvc/llvm-project?rev=325123&view=rev
Log:
[AST] Fix passing large-array-init.cpp on builds without asserts

Differential Revision: https://reviews.llvm.org/D43187

Modified:
    cfe/trunk/test/SemaCXX/large-array-init.cpp

Modified: cfe/trunk/test/SemaCXX/large-array-init.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/large-array-init.cpp?rev=325123&r1=325122&r2=325123&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/large-array-init.cpp (original)
+++ cfe/trunk/test/SemaCXX/large-array-init.cpp Wed Feb 14 05:27:48 2018
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -S -o %t.ll -mllvm -debug-only=exprconstant %s 2>&1 | \
 // RUN:     FileCheck %s
+// REQUIRES: asserts
 
 struct S { int i; };
 




More information about the cfe-commits mailing list