summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/cast1.C
blob: c8dbed1ac095bd37cf1e69007181f3801f641513 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/13536
// { dg-require-effective-target ilp32 } */
// { dg-options "-w" }

#include <typeinfo>

void f() {
  (int((char*)0));
  sizeof ((int((char*)0)));
  typeid ((int((char*)0)));
}