Add support for extern "C" thread_local

This commit is contained in:
William S Fulton 2013-02-08 18:45:29 +00:00
commit e44656cfe5
8 changed files with 36 additions and 6 deletions

View file

@ -39,5 +39,9 @@ public class cpp0x_thread_local_runme {
cpp0x_thread_local.setTeval(-55);
if (cpp0x_thread_local.getTeval() != -55)
throw new RuntimeException();
cpp0x_thread_local.setEctval(-55);
if (cpp0x_thread_local.getEctval() != -55)
throw new RuntimeException();
}
}