[TestCase] PR C++/11384
Andrew Pinski
pinskia@physics.uc.edu
Thu Jul 17 02:07:00 GMT 2003
This test was failing on powerpc-apple-darwin6.6 for some reason (I
could not find the patch which fixed this or broke it).
Ok?
Thanks,
Andrew Pinski
ChangeLog:
2003-07-16 Andrew Pinski
PR c++/11384
* g++.dg/init/init-ref4.C: New test.
g++.dg/init/init-ref4.C:
// Origin: dgregor@gcc.gnu.org
// { dg-do run }
template<typename T>
struct foo
{
static const T _S_something;
};
template<typename T>
const T foo<T>::_S_something = T();
int main()
{
const int* p = &foo<int>::_S_something;
return 0;
}
More information about the Gcc-patches
mailing list