[PATCH] D38628: Remove unneeded typename from test
Roger Ferrer Ibanez via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 6 08:26:02 PDT 2017
rogfer01 created this revision.
https://reviews.llvm.org/D38628
Files:
test/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp
Index: test/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp
===================================================================
--- test/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp
+++ test/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp
@@ -18,5 +18,5 @@
int main()
{
typedef std::pair<int, short> T;
- typename std::tuple_element<2, T>::type foo; // expected-error at utility:* {{Index out of bounds in std::tuple_element<std::pair<T1, T2>>}}
+ std::tuple_element<2, T>::type foo; // expected-error at utility:* {{Index out of bounds in std::tuple_element<std::pair<T1, T2>>}}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38628.118004.patch
Type: text/x-patch
Size: 641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171006/cf3cd5c6/attachment.bin>
More information about the cfe-commits
mailing list