2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / comdat3.C
blob2a538cad9241baf62b2ebadc411a3258408b0478
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.
6 // Additional files: comdat3.h
8 #include "comdat3.h"
10 int main ()
12   const bool *p = &A<int>::b;
13   f ();