Patch to support "#pragma omp nothing"
I do not understand "test for right usage". From the specifications the only right usage for "omp nothing" will be in the metadirective. If you have meeting notes when "omp nothing" was framed please share it.
In gcc sources support "#pragma omp nothing" has been implemented. Test cases for it are in:
These 2 test cases indicate a similar kind of test cases as those which have been added in this support for "omp nothing". There does not seem to be a test for right usage.