projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
This is passing on Darwin PPC.
[oota-llvm.git]
/
test
/
FrontendC
/
2004-11-27-InvalidConstantExpr.c
1
// RUN: %llvmgcc %s -S -o - | not grep {foo\\* sub}
2
// This should not produce a subtrace constantexpr of a pointer
3
struct foo {
4
int Y;
5
char X[100];
6
} F;
7
8
int test(char *Y) {
9
return Y - F.X;
10
}