File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -622,3 +622,47 @@ void A<T>::method(Ts&... ts)
622
622
} {}
623
623
624
624
}
625
+
626
+ namespace GH63782 {
627
+ // GH63782 was also fixed by PR #80594, so let's add a test for it.
628
+
629
+ template <bool ... Vals>
630
+ constexpr bool All = (Vals && ...);
631
+
632
+ template <bool ... Bs>
633
+ class Class {
634
+ template <typename >
635
+ requires All<Bs...>
636
+ void Foo ();
637
+ };
638
+
639
+ template <bool ... Bs>
640
+ template <typename >
641
+ requires All<Bs...>
642
+ void Class<Bs...>::Foo() {
643
+ };
644
+
645
+ } // namespace GH63782
646
+
647
+ namespace eve {
648
+ // Reduced from the "eve" project
649
+
650
+ template <typename ... Ts>
651
+ struct tuple {
652
+ template <int I0> requires (I0 <= sizeof ...(Ts))
653
+ constexpr auto split();
654
+ };
655
+
656
+ template <typename ... Ts>
657
+ template <int I0>
658
+ requires (I0 <= sizeof ...(Ts))
659
+ constexpr auto tuple<Ts...>::split(){
660
+ return 0 ;
661
+ }
662
+
663
+ int foo () {
664
+ tuple<int , float > x;
665
+ return x.split <0 >();
666
+ }
667
+
668
+ } // namespace eve
You can’t perform that action at this time.
0 commit comments