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

« back to all changes in this revision

Viewing changes to tests/core/test_istream.in

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <string>
 
2
#include <sstream>
 
3
#include <iostream>
 
4
 
 
5
int main() {
 
6
  std::string mystring("1 2 3");
 
7
  std::istringstream is(mystring);
 
8
  int one, two, three;
 
9
 
 
10
  is >> one >> two >> three;
 
11
 
 
12
  printf("%i %i %i", one, two, three);
 
13
}