diff options
Diffstat (limited to 'clang/test/Analysis/cxx-crashes.cpp')
-rw-r--r-- | clang/test/Analysis/cxx-crashes.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/Analysis/cxx-crashes.cpp b/clang/test/Analysis/cxx-crashes.cpp index 17e7c6dc0c8..17fc74d06f4 100644 --- a/clang/test/Analysis/cxx-crashes.cpp +++ b/clang/test/Analysis/cxx-crashes.cpp @@ -43,3 +43,14 @@ void *f(S* w) { } } + +namespace { + +struct C { + void *p; + static void f(); +}; + +void C::f() { } + +} |