aboutsummaryrefslogtreecommitdiffstats
path: root/tests/rule-of-three/bug388682.cpp
blob: cd88628852e660af12dcda519bf6f434ec592208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>

class A
{
public:
    A() {}
    ~A() {}

    A(const A &) {}
    A& operator=(const A &) = delete;
};

int main(int, char *[])
{
    A a;
}