Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
// $XConsortium: testsym.cc /main/3 1996/06/11 17:10:33 cde-hal $
#include "SymTab.h"
SymbolTable *gSymTab = new SymbolTable;
SymbolTable *gElemSymTab = 0;
main()
{
Symbol a = gSymTab->intern("a");
Symbol b = gSymTab->intern("b");
Symbol a2 = gSymTab->intern("a");
cout << (a == a) << endl;
cout << (a == b) << endl;
cout << (a == a2) << endl;
cout << "ids = " << endl;
cout << a.name() << "\t" << a.id() << endl;
cout << b.name() << "\t" << b.id() << endl;
cout << a2.name() << "\t" << a2.id() << endl;
}