Skip to content

Commit

Permalink
Add tests for thread local diagnostic.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmakarov committed May 10, 2024
1 parent b16fca8 commit aa1a19d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions c-tests/new/issue394.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
static _Thread_local int x;
int main (void) { return 0; }
1 change: 1 addition & 0 deletions c-tests/new/issue394.stderr-expect
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
issue394.c:1:8: warning -- Thread local is not implemented -- program might not work as assumed

0 comments on commit aa1a19d

Please sign in to comment.