forked from OSchip/llvm-project
parent
aa660b5149
commit
875ccc5864
|
@ -118,7 +118,7 @@ template <typename T> void f(T t, C c) {
|
|||
t.x; // OK, t is a template parameter.
|
||||
c.x;
|
||||
// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: static member
|
||||
// CHECK-FIXES: {{^}} C::x; // 1{{$}}
|
||||
// CHECK-FIXES: {{^}} C::x;{{$}}
|
||||
}
|
||||
|
||||
template <int N> struct S { static int x; };
|
||||
|
|
Loading…
Reference in New Issue