diff options
Diffstat (limited to 'test/SemaCXX/class.cpp')
-rw-r--r-- | test/SemaCXX/class.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/SemaCXX/class.cpp b/test/SemaCXX/class.cpp index 8d1257895f..52b062b5a7 100644 --- a/test/SemaCXX/class.cpp +++ b/test/SemaCXX/class.cpp @@ -189,3 +189,7 @@ void f() { S::c; // expected-error {{invalid use of nonstatic data member}} } } + +struct PR9989 { + static int const PR9989_Member = sizeof PR9989_Member; +}; |