summaryrefslogtreecommitdiff
path: root/tests/typing/bad/testfile-arith-4.cpp
blob: fbb7e9a03ea73f08eb39131275a43228052a4a5a (plain) (blame)
1
2
3
class S { public: int a; };
int main() { S s; int *p; p+s; }