aaron.ballman added a comment. Can you also add a release note for the fix?
================ Comment at: clang/test/SemaCXX/constexpr-late-instantiation.cpp:2 +// Make sure foo is instantiated and we don't get a link error +// RUN: not %clang_cc1 -S -emit-llvm %s -fsyntax-only 2>&1 | FileCheck %s + ---------------- ================ Comment at: clang/test/SemaCXX/constexpr-late-instantiation.cpp:9 + int k = foo<int>(5); // Ok + constexpr int j = foo<int>(5); // CHECK: error: constexpr variable 'j' must be initialized by a constant expression +} ---------------- CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128119/new/ https://reviews.llvm.org/D128119 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits