https://llvm.org/bugs/show_bug.cgi?id=23661
Meador Inge <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #2 from Meador Inge <[email protected]> --- This compiles fine with Clang trunk (3.7.0): $ cat -b pr23661.cpp 1 #include <tuple> 2 3 template<typename ...T> 4 std::tuple<T...> tup(T ...things) { 5 return std::tuple<T...>(things...); 6 } 7 8 int main() { 9 #ifndef CRASH 10 tup(1, 2, 3, 4); // Ok 11 #else 12 tup(1, 2, 3, 4, 5); // Crash! 13 #endif 14 } $ ./bin/clang++ --version clang version 3.7.0 (trunk 239652) (llvm/trunk 239650) Target: x86_64-apple-darwin14.3.0 Thread model: posix $ ./bin/clang++ -std=c++11 -stdlib=libc++ -DCRASH pr23661.cpp -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
