projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rather than having special rules like "intrinsics cannot
[oota-llvm.git]
/
test
/
CFrontend
/
2007-09-27-ComplexIntCompare.c
1
// RUN: %llvmgcc -S %s -o -
2
// PR1708
3
struct s { _Complex unsigned short x; };
4
struct s gs = { 100 + 200i };
5
struct s __attribute__((noinline)) foo (void) { return gs; }
6
7
int main ()
8
{
9
if (foo ().x != gs.x)
10
abort ();
11
exit (0);
12
}
13
14