diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-30 02:43:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-30 02:43:43 +0000 |
commit | f122cef4df04d017c1e43b9c6444c4e8e1a5b3ed (patch) | |
tree | b0662fcfbbec40cd88ee5ed2c1e5914663a68c97 /clang/test/CodeGenCXX/mangle.cpp | |
parent | 7216b9da5f20226dd11bdf109bd9fb84463852ee (diff) | |
download | bcm5719-llvm-f122cef4df04d017c1e43b9c6444c4e8e1a5b3ed.tar.gz bcm5719-llvm-f122cef4df04d017c1e43b9c6444c4e8e1a5b3ed.zip |
initial support for __[u]int128_t, which should be basically
compatible with VC++ and GCC. The codegen/mangling angle hasn't
been fully ironed out yet. Note that we accept int128_t even in
32-bit mode, unlike gcc.
llvm-svn: 70464
Diffstat (limited to 'clang/test/CodeGenCXX/mangle.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/mangle.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/mangle.cpp b/clang/test/CodeGenCXX/mangle.cpp index 0f135270233..5540a6868f4 100644 --- a/clang/test/CodeGenCXX/mangle.cpp +++ b/clang/test/CodeGenCXX/mangle.cpp @@ -46,5 +46,8 @@ namespace N { int i; } namespace N { int f(int, int) { static int b; return b; } } // RUN: grep "_ZZN1N1gEvE1a =" %t | count 1 && -// RUN: grep "_ZGVZN1N1gEvE1a =" %t | count 1 +// RUN: grep "_ZGVZN1N1gEvE1a =" %t | count 1 && namespace N { int h(); void g() { static int a = h(); } } + +// RUN: grep "_Z1fno" %t | count 1 +void f(__int128_t, __uint128_t) { } |