* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / template26.C
blobaab9763ccaf60715585bd138c4c599fb1be6cdc9
1 // PR c++/50864
3 namespace impl
5   template <class T> T create();
8 template <class T, class U, __SIZE_TYPE__
9           = sizeof(impl::create<T>()->*impl::create<U>())>
10 struct foo1;
12 template <class T, class U, __SIZE_TYPE__
13           = sizeof(impl::create<T>()->impl::create<U>())> // { dg-error "not a class member" }
14 struct foo2;
16 template <class T, class U, __SIZE_TYPE__
17           = sizeof(impl::create<T>().impl::create<U>())> // { dg-error "not a class member" }
18 struct foo3;