ORCA-C/Tests/Spec.Conform/SPC2.1.0.1.CC
2017-10-21 18:40:19 -05:00

16 lines
447 B
C++

/* Special Conformance Test 2.1.0.1: Verification of character set */
#include <stdio.h>
main ()
{
int c;
/* Read chars from keyboard; echo to a device. Tester must */
/* check correct output of characters. The test should be */
/* repeated 3 times, with output going to console, to printer */
/* and to a file. */
while ((c = getchar ()) != EOF)
putchar (c);
}