Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/gcc/testsuite/g++.dg/cpp1y/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     constexpr-104284-1.C (871 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// PR c++/104284
// { dg-do compile { target c++14 } }
// { dg-additional-options "-fchecking=2" }

struct S {
  char c{};
};

auto x1 = [](auto) { constexpr S s[]{{}}; };
auto x2 = [](auto) { constexpr S s[]{{'a'}}; };
#if __cpp_designated_initializers >= 201707L
auto x3 = [](auto) { constexpr S s[]{{.c = 'a'}}; };
#endif
auto x4 = [](auto) { constexpr S s[]{'a'}; };
auto x5 = [](auto) { constexpr S s[]{{{}}}; };

template<class>
constexpr void g ()
{
  constexpr S s1[]{{}};
  static_assert(s1[0].c == '\0', "");
  constexpr S s2[]{{'a'}};
  static_assert(s2[0].c == 'a', "");
#if __cpp_designated_initializers >= 201707L
  constexpr S s3[]{{.c = 'a'}};
  static_assert(s3[0].c == 'a', "");
#endif
  constexpr S s4[]{'a'};
  static_assert(s4[0].c == 'a', "");
  constexpr S s5[]{{{}}};
  static_assert(s5[0].c == '\0', "");
}

static_assert ((g<int>(), true), "");

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.006 ]--