summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/conversion/cast3.C
blob: 43287a1eb368faefc708246f4d41435762385d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Origin: PR c++/46824

class Incomplete;
struct Ptr
{
  operator Incomplete*();
};

int
main()
{
  Ptr p;
  *p;
}