This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[TestCase] PR C++/11384
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Wed, 16 Jul 2003 22:07:05 -0400
- Subject: [TestCase] PR C++/11384
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;
}