]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr87314-1.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr87314-1.c
CommitLineData
a4f9edf3
RB
1/* { dg-do compile } */
2/* { dg-options "-O -fdump-tree-original" } */
3
4int f(){ int a; return &a==(void *)"hello"; }
5int g(){ return "bye"=="hello"; }
33a0bfcd 6int h() { return "bye"=="helloooobye"+8; }
a4f9edf3
RB
7
8/* { dg-final { scan-tree-dump-times "hello" 1 "original" } } */
9/* The test in h() should be retained because the result depends on
10 string merging. */
fe28d340
TV
11/* { dg-final { scan-assembler "hellooo" { target { ! nvptx*-*-* } } } } */
12/* { dg-final { scan-assembler "104, 101, 108, 108, 111, 111, 111" { target { nvptx*-*-* } } } } */
13