https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66602
--- Comment #3 from so61pi.re at gmail dot com ---
My current version of GCC is 5.1.0 on Windows, but I also tested on Linux with
same GCC version, and it produced the same bug, which printed random value like
Daniel Krügler have showed
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: so61pi.re at gmail dot com
Target Milestone: ---
-
#include
#include
class empty_t {
};
int main() {
// should print 1, but doesn't
std::tuple a(empty_t{}, 1);
std: