summaryrefslogtreecommitdiff
path: root/tests/typing/bad/testfile-while-2.cpp
blob: 3814d87115d2d99eb71e7c6a3f2d5a1472657c93 (plain) (blame)
1
2
3
4
class S { public: int a; };
int main() { S s; while(s); }