// Test that -fipa-icf combines the backing arrays for a and b. // { dg-do run { target c++11 } } // { dg-options -fipa-icf } #include template [[gnu::noipa]] void f (std::initializer_list a, std::initializer_list b) { if (a.begin() != b.begin()) __builtin_abort(); } int main() { f ({1,2}, {1,2}); }