]> Creatis software - gdcm.git/blob - Testing/TestBug.cxx
ENH: Remove redundancie about GDCM_DICT stuff, now we only need to modify
[gdcm.git] / Testing / TestBug.cxx
1 // The following crashes on Win32
2 #include "gdcm.h"
3
4 int bug1(int argc, char* argv[])
5 {  
6         gdcmHeader* e1;
7         
8         if (argc > 1)
9                 e1 = new gdcmHeader(argv[1]);
10         else
11     {
12     std::string filename = GDCM_DATA_ROOT;
13     filename += "/test.acr";
14                 e1 = new gdcmHeader( filename.c_str() );
15     }
16         e1->PrintPubDict();
17
18   return 0;
19 }
20
21
22