2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20101010-4_0.C
blob83499947da72a84048de22293f121d054084c75b
1 // { dg-lto-do link }
2 // { dg-lto-options { { -std=c++0x -flto -r -nostdlib } { -std=c++0x -flto -g -r -nostdlib } } }
3 /* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
5 typedef decltype(nullptr) nullptr_t;
6 class shared_ptr {
7 public:
8     shared_ptr(nullptr_t __p);
9 };
10 shared_ptr p = nullptr;