1 // { dg-do run } 2 // { dg-additional-sources " comdat3-aux.cc" } 3 // Test that duplicate elimination of implicit instantiations of static 4 // data members works properly. 5 6 // Additional files: comdat3.h 7 8 #include "comdat3.h" 9 main()10int main () 11 { 12 const bool *p = &A<int>::b; 13 f (); 14 } 15