repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
builtins1.C
blob
ee714d715be48a5b1a919513beaa462b41251ed1
1
// { dg-do run }
2
// { dg-options "-O2" }
3
// Test whether this builtin minimally works in G++.
4
// Origin: Kaveh Ghazi Jan 16, 2001
5
// Copyright (C) 2001 Free Software Foundation.
6
//
7
8
namespace std
9
{
10
extern "C" void abort (void);
11
}
12
13
int main ()
14
{
15
using namespace std;
16
17
if (::__builtin_strlen ("hello") != 5)
18
abort ();
19
20
return 0;
21
}