// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -verify -fsyntax-only %s
int ; // expected-error {{'tls_model' attribute only applies to thread-local variables}}
int x ; // expected-error {{'tls_model' attribute only applies to thread-local variables}}
static __thread int y ; // no-warning
static __thread int y ; // expected-error {{'tls_model' attribute takes one argument}}
static __thread int y ; // expected-error {{'tls_model' attribute requires a string}}
static __thread int y ; // expected-error {{tls_model must be "global-dynamic", "local-dynamic", "initial-exec" or "local-exec"}}