[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / test / Analysis / elementtype.c
blob5897c5533150e27c8dea65a4e9e08dbaf401ff2c
1 // RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.core %s
3 typedef struct added_obj_st {
4 int type;
5 } ADDED_OBJ;
7 // Test if we are using the canonical type for ElementRegion.
8 void f(void) {
9 ADDED_OBJ *ao[4]={((void*)0),((void*)0),((void*)0),((void*)0)};
10 if (ao[0] != ((void*)0)) {
11 ao[0]->type=0;