File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ Bug Fixes in This Version
379379- Fixed an assertion when an improper use of the ``malloc `` attribute targeting
380380 a function without arguments caused us to try to access a non-existent argument.
381381 (#GH159080)
382- - Fixed a failed assertion with empty filename arguments in ``__has_embed ``. (#GH159898) (#GH56652)
382+ - Fixed a failed assertion with empty filename arguments in ``__has_embed ``. (#GH159898)
383383
384384Bug Fixes to Compiler Builtins
385385^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -433,7 +433,7 @@ Bug Fixes to C++ Support
433433 object type. (#GH151531)
434434- Suppress ``-Wdouble-promotion `` when explicitly asked for with C++ list initialization (#GH33409).
435435- Fix the result of `__builtin_is_implicit_lifetime ` for types with a user-provided constructor. (#GH160610)
436- - Correctly deduced return types in ``decltype `` expressions. (#GH160497)
436+ - Correctly deduced return types in ``decltype `` expressions. (#GH160497) (#GH56652) (#GH116319)
437437
438438Bug Fixes to AST Handling
439439^^^^^^^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change @@ -22,7 +22,20 @@ template <typename T> auto fn(T) {
2222
2323auto a = decltype (fn(bar<int >{})){};
2424
25+ }
26+
27+ namespace GH116319 {
28+
29+ template <int = 0 > struct a {
30+ template <class > static constexpr auto b = 2 ;
31+ template <class > static void c () noexcept (noexcept (b<int >)) {}
32+ };
33+
34+ void test () { a<>::c<int >(); }
35+
36+
2537}
2638
2739// CHECK: %"struct.GH56652::bar" = type { i8 }
40+ // CHECK: $_ZN8GH1163191aILi0EE1cIiEEvv = comdat any
2841// CHECK: @_ZN7GH566521aE = global %"struct.GH56652::bar" undef
You can’t perform that action at this time.
0 commit comments