Kaydet (Commit) e27f2a87 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix test for clang-cl

...whatever it is that causes clang-cl to not analyze the template code
otherwise

Change-Id: Id4da996714fe93c454abb3669a12d8afe27b918b
üst 9f08211d
......@@ -22,6 +22,7 @@ template<typename T> void f() {
int i = sizeof (T) + 1; // expected-error {{var used only once, should be inlined or declared const [loplugin:oncevar]}}
call_value(i); // expected-note {{used here [loplugin:oncevar]}}
}
template void f<int>(); // needed for clang-cl
int main() {
/* TODO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment