summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/recovery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/recovery.cpp')
-rw-r--r--clang/test/Parser/recovery.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/test/Parser/recovery.cpp b/clang/test/Parser/recovery.cpp
index f099473e04b..2d5b518c691 100644
--- a/clang/test/Parser/recovery.cpp
+++ b/clang/test/Parser/recovery.cpp
@@ -203,14 +203,6 @@ namespace pr15133 {
};
}
-namespace AbstractPtrOperator {
- // A ptr-operator and no name means we have a declaration and not an
- // expression.
- template<typename T> int f(int*, T::type); // expected-error {{missing 'typename'}}
- template<typename T> int f(int (T::*), T::type); // expected-error {{missing 'typename'}}
- template<typename T> int f(int (*)(), T::type); // expected-error {{missing 'typename'}}
-}
-
namespace InvalidEmptyNames {
// These shouldn't crash, the diagnostics aren't important.
struct ::, struct ::; // expected-error 2 {{expected identifier}} expected-error 2 {{declaration of anonymous struct must be a definition}} expected-warning {{declaration does not declare anything}}
OpenPOWER on IntegriCloud