Eric Christopher | 5485ac0 | 2011-07-26 00:47:54 +0000 | [diff] [blame] | 1 | // RUN: not %clang_cc1 %s -emit-llvm -o - |
2 | // PR2958 | ||||
3 | static struct foo s; // expected-error { tentative definition has type 'struct foo' that is never completed } | ||||
4 | struct foo *p = &s; |