diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-01-18 16:23:48 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-01-18 16:23:48 +0000 |
| commit | 06d4ba388873e6d1cfa9cd715a8935ecc8cd2097 (patch) | |
| tree | 3eb853da77d46cc77c4b017525a422f9ddb1385b /test/Parser/cxx0x-in-cxx98.cpp | |
| parent | 30d791273d07fac9c0c1641a0731191bca6e8606 (diff) | |
Diffstat (limited to 'test/Parser/cxx0x-in-cxx98.cpp')
| -rw-r--r-- | test/Parser/cxx0x-in-cxx98.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Parser/cxx0x-in-cxx98.cpp b/test/Parser/cxx0x-in-cxx98.cpp index 724993811631..10cb4d2fa53a 100644 --- a/test/Parser/cxx0x-in-cxx98.cpp +++ b/test/Parser/cxx0x-in-cxx98.cpp @@ -28,3 +28,7 @@ struct Auto { auto Auto::n = 0; // expected-warning {{'auto' type specifier is a C++11 extension}} auto Auto::m = 0; // expected-error {{no member named 'm' in 'Auto'}} // expected-warning@-1 {{'auto' type specifier is a C++11 extension}} + +struct Conv { template<typename T> operator T(); }; +bool pr21367_a = new int && false; +bool pr21367_b = &Conv::operator int && false; |
