summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/cast6.C
blob: 434a046691ea972fc83c6488302b2d1db0263edf (plain)
1
2
3
4
5
6
void f(int &);
void f(const int &);
int main() {
  volatile int x = 2;
  f((int)x);
}