This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]