diff options
Diffstat (limited to 'clang/test/Parser/cxx-casting.cpp')
-rw-r--r-- | clang/test/Parser/cxx-casting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/cxx-casting.cpp b/clang/test/Parser/cxx-casting.cpp index 43885bff27a..b1ae591865e 100644 --- a/clang/test/Parser/cxx-casting.cpp +++ b/clang/test/Parser/cxx-casting.cpp @@ -37,7 +37,7 @@ char postfix_expr_test() // This was being incorrectly tentatively parsed. namespace test1 { template <class T> class A {}; // expected-note 2{{here}} - void foo() { A<int>(*(A<int>*)0); } + void foo() { A<int>(*(A<int>*)0); } // expected-warning {{binding dereferenced null pointer to reference has undefined behavior}} } typedef char* c; |