diff options
Diffstat (limited to 'clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp')
-rw-r--r-- | clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp b/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp new file mode 100644 index 0000000..58d7ff4 --- /dev/null +++ b/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -fsyntax-only -verify %s + +struct S { + static const int f0 = 0; + static int f1; +}; + +int S::f1 = f0; |