1 // RUN: %llvmgcc %s -Os -S -g -o - | grep DW_TAG_structure_type | count 1
2 // Variable 'a' is optimized but the debug info should preserve its type info.
9 void *getfoo(void) __attribute__((noinline));
13 int *x = malloc(sizeof(int));
18 int main(int argc, char *argv[]) {
19 struct foo *a = (struct foo *)getfoo();