aboutsummaryrefslogtreecommitdiff
path: root/gprof/t.c
diff options
context:
space:
mode:
authorSean Eric Fagan <sef@cygnus>1991-07-18 20:19:17 +0000
committerSean Eric Fagan <sef@cygnus>1991-07-18 20:19:17 +0000
commit3d6c6501891ab37f334c209e065ad0e7a2cd5a74 (patch)
tree66618297396822943ef644edb76c0c240a76407a /gprof/t.c
parent1b2d0bf260776889b7cc5a5fe0cd015856371139 (diff)
downloadgdb-3d6c6501891ab37f334c209e065ad0e7a2cd5a74.zip
gdb-3d6c6501891ab37f334c209e065ad0e7a2cd5a74.tar.gz
gdb-3d6c6501891ab37f334c209e065ad0e7a2cd5a74.tar.bz2
Initial revision
Diffstat (limited to 'gprof/t.c')
-rwxr-xr-xgprof/t.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gprof/t.c b/gprof/t.c
new file mode 100755
index 0000000..62272b4
--- /dev/null
+++ b/gprof/t.c
@@ -0,0 +1,12 @@
+void
+foo(int x) {
+ if (x&3)
+ foo (x-1);
+}
+
+main() {
+ int i;
+
+ for (i=0; i< 1024; i++)
+ foo(i);
+}