1 // Contributed by Kris Van Hees <kris.van.hees@oracle.com>
2 // Test the support for char16_t character constants.
4 // { dg-options "-std=c++0x" }
6 void f0 (char16_t c) {}
7 void f1 (char32_t c) {}
8 void f2 (char16_t *s) {}
9 void f3 (char32_t *s) {}
11 // { dg-final { scan-assembler "_Z2f0Ds:" } }
12 // { dg-final { scan-assembler "_Z2f1Di:" } }
13 // { dg-final { scan-assembler "_Z2f2PDs:" } }
14 // { dg-final { scan-assembler "_Z2f3PDi:" } }