[PATCH] D50122: Complex Variable defined in InitCapture Crash fix

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 1 07:30:02 PDT 2018


aprantl added inline comments.


================
Comment at: test/SemaCXX/lambda-init-capture-vardefine.cpp:3
+// RUN: %clang_cc1 -std=c++17  -fsyntax-only -verify %s
+// expected-no-diagnostics
+
----------------
These kinds of tests that don't check for any output are a bit dangerous, because they will also succeed if clang is symlinked to `/bin/true`.


Repository:
  rC Clang

https://reviews.llvm.org/D50122





More information about the cfe-commits mailing list