diff options
Diffstat (limited to 'clang/test/SemaCXX/cxx98-compat-pedantic.cpp')
| -rw-r--r-- | clang/test/SemaCXX/cxx98-compat-pedantic.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/test/SemaCXX/cxx98-compat-pedantic.cpp b/clang/test/SemaCXX/cxx98-compat-pedantic.cpp index 38bc341e83c..8b0dcc87132 100644 --- a/clang/test/SemaCXX/cxx98-compat-pedantic.cpp +++ b/clang/test/SemaCXX/cxx98-compat-pedantic.cpp @@ -21,10 +21,6 @@ enum Enum { Enum_value, // expected-warning {{commas at the end of enumerator lists are incompatible with C++98}} }; -template<typename T> struct InstantiationAfterSpecialization {}; -template<> struct InstantiationAfterSpecialization<int> {}; // expected-note {{here}} -template struct InstantiationAfterSpecialization<int>; // expected-warning {{explicit instantiation of 'InstantiationAfterSpecialization<int>' that occurs after an explicit specialization is incompatible with C++98}} - void *dlsym(); void (*FnPtr)() = (void(*)())dlsym(); // expected-warning {{cast between pointer-to-function and pointer-to-object is incompatible with C++98}} void *FnVoidPtr = (void*)&dlsym; // expected-warning {{cast between pointer-to-function and pointer-to-object is incompatible with C++98}} |

