commit | d0e162c4572371cdc55f2938b562f13bfeb7eb77 | [log] [tgz] |
---|---|---|
author | Nuno Lopes <nunoplopes@sapo.pt> | Tue Aug 05 19:40:20 2008 +0000 |
committer | Nuno Lopes <nunoplopes@sapo.pt> | Tue Aug 05 19:40:20 2008 +0000 |
tree | 3de7d02756033b8322aa17e85c1c72f59276ea46 | |
parent | 7c65b6cfdb764c9887085206f033f63c73d1b335 [diff] [blame] |
fix crash when printing diagnostics with tokens that span through more than one line git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54365 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/text-diag.c b/test/Sema/text-diag.c new file mode 100644 index 0000000..2e31291 --- /dev/null +++ b/test/Sema/text-diag.c
@@ -0,0 +1,4 @@ +// RUN: clang -fsyntax-only %s +unsigned char *foo = "texto\ +que continua\ +e continua";