#include "fstream.h"

forall( type T )
T identity( T t ) {
    return t;
}

int main() {
    ofstream *sout = ofstream_stdout();
    char c = 'a';
    sout << c << ' ' << identity( c ) << '\n';
    int i = 5;
    sout << i << ' ' << identity( i ) << '\n';
    double d = 3.2;
    sout << d << ' ' << identity( d ) << '\n';
}

// Local Variables: //
// compile-command: "../../bin/cfa identity.c fstream.o iostream.o" //
// End: //
