Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / pr103007.C
blob1631a85080039f29b83c97d2f62c66be9eac109f
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
4 typedef float MushMeshVector[4];
5 struct MushMeshQuaternionPair {
6   void VectorRotate(MushMeshVector &);
7   MushMeshVector m_first;
8   MushMeshVector m_second;
9 };
10 void 
11 MushMeshQuaternionPair::
12 VectorRotate(MushMeshVector &ioVec)  {
13   ioVec[2] = (2 - m_first[1] + m_first[3] * 0);
14   ioVec[3] = (m_first[3] + m_first[1] - m_first[2] * 0);
15   float c = ioVec[2], d = ioVec[3];
16   ioVec[2] = (0 - d * m_second[1]);
17   ioVec[3] = (2 - c * m_second[1]);