llvm-project/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp

10 lines
147 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
struct S {
static const int f0 = 0;
static int f1;
};
int S::f1 = f0;