blob: ee8642fa3aa231e403dd7dccb49ffb6ab072312c [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgcc %s -S -o - | not grep {foo\\* sub}
2// This should not produce a subtrace constantexpr of a pointer
3struct foo {
4 int Y;
5 char X[100];
6} F;
7
8int test(char *Y) {
9 return Y - F.X;
10}