aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/elementtype.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/elementtype.c')
-rw-r--r--test/Analysis/elementtype.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/Analysis/elementtype.c b/test/Analysis/elementtype.c
deleted file mode 100644
index 7eba8e14b3a7..000000000000
--- a/test/Analysis/elementtype.c
+++ /dev/null
@@ -1,13 +0,0 @@
-// RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.core -analyzer-store=region %s
-
-typedef struct added_obj_st {
- int type;
-} ADDED_OBJ;
-
-// Test if we are using the canonical type for ElementRegion.
-void f() {
- ADDED_OBJ *ao[4]={((void*)0),((void*)0),((void*)0),((void*)0)};
- if (ao[0] != ((void*)0)) {
- ao[0]->type=0;
- }
-}