Skip to content
Snippets Groups Projects
Commit 309674f1 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: tests/my_root_script.cxx

parent 55a31d3e
No related branches found
No related tags found
No related merge requests found
Pipeline #1746 failed
......@@ -3,5 +3,16 @@ void my_root_script() {
std::cout << "Hello from my_root_script.cxx!\n";
std::cout << "This should be run with singularity\n";
double pi = 3.14;
auto pi_equals_3 = (3 == pi);
std::cout << " pi_equals_3 = " << pi_equals_3 << "\n";
if( pi_equals_3) {
std::cout << "what the hell?\n";
std::exit( 0 );
}
/* else */
std::exit( -1 );
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment