summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20101010-4_0.C
blob: 01beb2167c0425459d6314f427681e481004135e (plain)
1
2
3
4
5
6
7
8
9
// { dg-lto-do link }
// { dg-lto-options { { -std=c++0x -flto -r -nostdlib } { -std=c++0x -flto -g -r -nostdlib } } }

typedef decltype(nullptr) nullptr_t;
class shared_ptr {
public:
    shared_ptr(nullptr_t __p);
};
shared_ptr p = nullptr;