Debian Codegraph @

gcc/testsuite/g++.dg/lto/20101010-4_0.C

raw
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" } */
4
5 typedef decltype(nullptr) nullptr_t;
6 class shared_ptr {
7 public:
8 shared_ptr(nullptr_t __p);
9 };
10 shared_ptr p = nullptr;