~ubuntu-branches/ubuntu/vivid/atlas/vivid

« back to all changes in this revision

Viewing changes to CONFIG/src/backend/probe_this_asm.c

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2009-09-17 23:31:54 UTC
  • mto: (2.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090917233154-9esw88ub02twbuab
Tags: upstream-3.8.3
ImportĀ upstreamĀ versionĀ 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <stdio.h>
 
2
#include <stdlib.h>
 
3
 
 
4
main(int nargs, char **args)
 
5
{
 
6
   int asm_probe(int i);
 
7
   int i;
 
8
   i = asm_probe(7);
 
9
   if (i != 21)
 
10
   {
 
11
      fprintf(stdout, "FAILURE, i=%d!!\n", i);
 
12
      fprintf(stderr, "FAILURE, i=%d!!\n", i);
 
13
      exit(-1);
 
14
   }
 
15
   fprintf(stdout, "SUCCESS\n");
 
16
   exit(0);
 
17
}