[PATCH] D70302: [CodeGen] Fix clang crash on aggregate initialization of array of labels

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 28 06:52:24 PST 2019


rnk added a comment.

Fix looks good post commit, but we should enhance the test.



================
Comment at: clang/test/CodeGen/label-array-aggregate-init.c:1
+// RUN: %clang -cc1 -emit-llvm %s -o /dev/null
+
----------------
It's best practice to filecheck for something, even if this used to crash.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70302/new/

https://reviews.llvm.org/D70302





More information about the cfe-commits mailing list