~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/files.cpp

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-06-11 15:45:24 UTC
  • mfrom: (1.2.1) (2.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130611154524-rppb3w6tixlegv4n
Tags: 1.4.7~20130611~a1eb425-1
* New snapshot release
* Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  fwrite(data, 1, 5, outf);
57
57
  fclose(outf);
58
58
 
 
59
  FILE *devNull = fopen("/dev/null", "rb");
 
60
  assert(devNull);
 
61
 
59
62
  char data2[10];
60
63
  FILE *inf = fopen("go.out", "rb");
61
64
  int num = fread(data2, 1, 10, inf);