LoongArch: Organize the code related to split move and merge the same functions.
[official-gcc.git] / gcc / testsuite / g++.dg / template / redecl4.C
blobc9282cde8601064a1ea89d56fed5c94744d43763
1 // PR c++/28710
2 // { dg-do compile }
4 template<int> union A;  // { dg-message "previous" }
5 struct A;               // { dg-error "redeclared as non-template" }