llvm-for-llvmta/tools/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp

10 lines
147 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
struct S {
static const int f0 = 0;
static int f1;
};
int S::f1 = f0;