[PATCH] D49952: Check for NULL Destination-Type when creating ArrayConstant
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 27 19:58:45 PDT 2018
erik.pilkington added inline comments.
================
Comment at: test/CodeGenCXX/empty-struct-init-list.cpp:1-4
+// RUN: %clang_cc1 -std=c++11 %s
+// RUN: %clang_cc1 -std=c++14 %s
+// RUN: %clang_cc1 -std=c++17 %s
+// expected-no-diagnostics
----------------
You should add -emit-llvm, or else CodeGen won't even run. Also, expected-no-diagnostics only means anything when -verify is included on the run line.
Repository:
rC Clang
https://reviews.llvm.org/D49952
More information about the cfe-commits
mailing list