repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In gcc/objc/: 2010-11-13 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20091004-3_1.C
blob
641c7495b4fcad8a578cf928dcfe013fd62f36fe
1
extern "C" double sqrt (double __x) throw ();
2
typedef double VECTOR[3];
3
enum { X = 0, Y = 1, Z = 2, T = 3 };
4
inline void VLength(double& a, const VECTOR b)
5
{
6
a = sqrt(b[X] * b[X] + b[Y] * b[Y] + b[Z] * b[Z]);
7
}
8
int
9
All_Torus_Intersections(void)
10
{
11
double len;
12
VECTOR D;
13
VLength(len, D);
14
VLength(len, D);
15
}
16