Modify test case comments.

llvm-svn: 73691
This commit is contained in:
Zhongxing Xu 2009-06-18 06:49:35 +00:00
parent cea6578078
commit b21175ccbe
1 changed files with 2 additions and 5 deletions

View File

@ -19,14 +19,11 @@ struct s {
struct s *value;
};
// ElementRegion and cast-to pointee type may be of the same size:
// 'struct s **' and 'int'.
int f1(struct s **pval) {
int *tbool = ((void*)0);
struct s *t = *pval;
pval = &(t->value);
tbool = (int *)pval;
char c = (unsigned char) *tbool;
tbool = (int *)pval; // Should record the cast-to type here.
char c = (unsigned char) *tbool; // Should use cast-to type to create symbol.
}